-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
104 lines (104 loc) · 3.59 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
{
"name": "appc.mongo",
"description": "MongoDB connector",
"version": "1.3.1-2",
"author": {
"email": "[email protected]",
"name": "Axway R&D",
"url": "https://axway.com"
},
"license": "Apache-2.0",
"keywords": [
"arrow",
"arrow-connector",
"appcelerator",
"mongo",
"mongodb"
],
"babel": {
"presets": [
"es2015",
"stage-2"
]
},
"files": [
"docs",
"dist",
"conf"
],
"main": "dist/index.js",
"repository": {
"type": "git",
"url": "https://github.com/appcelerator/appc.mongo"
},
"private": true,
"dependencies": {
"async": "^2.6.1",
"lodash": "^4.17.11",
"mongodb": "^3.1.8",
"semver": "^5.0.3"
},
"devDependencies": {
"arrow": "*",
"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-mocha-test": "^0.13.2",
"mocha": "^5.2.0",
"npm-check": "^5.9.0",
"nyc": "^13.1.0",
"request": "^2.88.0",
"retire": "^2.0.0",
"rimraf": "2.6.2",
"should": "^13.2.3",
"sinon": "^7.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 ./lib"
},
"standard": {
"ignore": [
".nyc_output",
".vscode",
"coverage",
"node_modules",
"dist",
"config",
"test/integration/**"
]
},
"nyc": {
"include": "src"
}
}