-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
109 lines (109 loc) · 3.82 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
{
"name": "appc.odata",
"description": "OData connector",
"version": "1.1.1-0",
"author": {
"email": "[email protected]",
"name": "Axway R&D",
"url": "https://axway.com"
},
"license": "Apache-2.0",
"keywords": [
"appcelerator",
"arrow"
],
"repository": {
"type": "git",
"url": "[email protected]:appcelerator/appc.odata.git"
},
"babel": {
"presets": [
"es2015",
"stage-2"
]
},
"files": [
"docs",
"dist",
"conf"
],
"private": true,
"dependencies": {
"appc-connector-utils": "^0.4.1",
"async": "^2.6.1",
"fast-xml-parser": "^3.12.5",
"joi": "^14.0.1",
"mixin-deep": "^2.0.0",
"odata": "0.3.0",
"ramda": "0.23.0",
"request": "^2.88.0",
"semver": "^5.6.0"
},
"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",
"eslint": "^5.7.0",
"eslint-config-standard": "^12.0.0",
"eslint-plugin-promise": "^4.0.1",
"eslint-plugin-standard": "^4.0.0",
"grunt": "^1.0.3",
"grunt-mocha-test": "^0.13.3",
"mocha": "^5.2.0",
"mockery": "^2.1.0",
"npm-check": "^5.9.0",
"nyc": "^13.1.0",
"retire": "^2.0.0",
"rimraf": "2.6.2",
"sinon": "^7.0.0",
"sinon-stub-promise": "4.0.0",
"sinon-test": "^2.4.0",
"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 ./utils ./lib"
},
"standard": {
"ignore": [
".nyc_output",
".vscode",
"coverage",
"node_modules",
"dist",
"config",
"test/integration/**"
]
},
"nyc": {
"include": "src"
}
}