-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
94 lines (94 loc) · 3.48 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.postgresql",
"description": "",
"version": "1.0.0-1",
"author": {
"email": "[email protected]",
"name": "Axway R&D",
"url": "https://axway.com"
},
"license": "Apache-2.0",
"keywords": [
"appcelerator",
"arrow"
],
"babel": {
"presets": [
"env",
"stage-2"
]
},
"files": [
"docs",
"dist",
"conf"
],
"main": "dist/index.js",
"repository": {
"type": "git",
"url": "[email protected]:appcelerator/appc.postgresql.git"
},
"private": true,
"dependencies": {
"appc-connector-utils": "0.4.1",
"lodash": "^4.17.11",
"pg": "7.4.0",
"ramda": "0.25.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-env": "^1.7.0",
"babel-preset-stage-2": "6.24.1",
"cross-env": "^5.2.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",
"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 --no-optional && 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": "tap test/integration/* --bail --coverage-report=html | tap-mocha-reporter spec",
"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"
}
}