-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
94 lines (94 loc) · 3.38 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
"name": "appc.swagger",
"description": "Connect to Swagger defined APIs from API Builder",
"version": "1.1.10-8",
"author": {
"email": "[email protected]",
"name": "Axway R&D",
"url": "https://axway.com"
},
"license": "Apache-2.0",
"keywords": [
"arrow",
"arrow-connector",
"swagger",
"appcelerator"
],
"repository": {
"type": "git",
"url": "https://github.com/appcelerator/appc.swagger"
},
"babel": {
"presets": [
"es2015",
"stage-2"
]
},
"private": true,
"dependencies": {
"async": "^2.6.1",
"lodash": "^4.17.11",
"semver": "^5.6.0",
"superagent": "^3.8.3",
"swagger-client": "^3.8.21",
"underscore.string": "^3.3.5"
},
"devDependencies": {
"arrow": "^3.1.2",
"babel-cli": "6.26.0",
"babel-core": "^6.26.3",
"babel-istanbul": "^0.12.1",
"babel-polyfill": "^6.13.0",
"babel-preset-es2015": "6.24.1",
"babel-preset-stage-2": "6.24.1",
"cross-env": "^5.2.0",
"grunt": "^1.0.3",
"grunt-appc-js": "^2.1.0",
"grunt-contrib-clean": "^2.0.0",
"grunt-mocha-istanbul": "^5.0.2",
"grunt-mocha-test": "^0.13.2",
"mocha": "^5.2.0",
"nock": "^10.0.1",
"npm-check": "^5.9.0",
"nyc": "^13.1.0",
"retire": "^2.0.0",
"rimraf": "2.6.2",
"should": "^13.2.3",
"snazzy": "^8.0.0",
"standard": "^12.0.1",
"tap": "^12.0.1",
"tap-mocha-reporter": "^3.0.7"
},
"scripts": {
"start": "appc run",
"all": "npm i && npm run clean && npm run lint:fix && npm run test && npm run build:dist && npm run security && npm run check:dependencies",
"build": "npm run clean && npm run build:dev && npm run check:dependencies && npm run security",
"build:dev": "npm run build:lint && npm run test && npm run build:dist",
"build:dist": "npm run transpile",
"build:lint": "standard | snazzy",
"test": "npm run clean:test && cross-env NODE_ENV=test npm run test:unit",
"test:unit": "tap test/unit/* --bail --coverage-report=html | tap-mocha-reporter spec",
"test:integration": "grunt",
"posttest": "nyc check-coverage --lines 80 --branches 80 --functions 80 || exit 0",
"release:publish": "git add -A && git push origin HEAD:master && git push origin HEAD:master --tags",
"release:major": "npm version major && npm run release:publish && git push origin HEAD:master --follow-tags",
"release:minor": "npm version minor && npm run release:publish && git push origin HEAD:master --follow-tags",
"release:patch": "npm version patch && npm run release:publish && git push origin HEAD:master --follow-tags",
"release:prerelease": "npm version prerelease && npm run release:publish && git push origin HEAD:master --follow-tags",
"release:npm": "curl -X GET http://registry.ecd.axway.int:8081/artifactory/local-npm/$npm_package_name/-/$npm_package_name-$npm_package_version.tgz 2>/dev/null > $npm_package_name-$npm_package_version.tgz && npm publish --registry https://registry.npmjs.org ./$npm_package_name-$npm_package_version.tgz && rm ./$npm_package_name-$npm_package_version.tgz",
"security": "retire --exitwith 0 --package --outputformat json --outputpath scan-retire.json && npm audit --registry https://registry.npmjs.org --json > scan-audit.json || true",
"clean": "rimraf dist coverage .nyc-output",
"clean:test": "rimraf coverage .nyc-output",
"lint:fix": "standard --fix | snazzy",
"check:dependencies": "npm-check || exit 0",
"transpile": "babel -d ./dist ./lib"
},
"standard": {
"ignore": [
"**/**"
]
},
"nyc": {
"include": "src"
}
}