-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpackage.json
30 lines (30 loc) · 1.4 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
{
"name": "currency-v1",
"version": "1.0.0",
"devDependencies": {
"@cucumber/cucumber": "^7.3.0",
"@cucumber/pretty-formatter": "1.0.0-alpha.1",
"apickli": "^3.0.1",
"apigeelint": "^2.21.3",
"chai": "^3",
"chai-fuzzy": "^1",
"cucumber-html-reporter": "^5.5.0",
"eslint": "^7.0.0",
"eslint-config-google": "^0.14.0",
"eslint-config-prettier": "^6.11.0",
"mocha": "^7.2.0",
"mocha-simple-html-reporter": "^2.0.0",
"nyc": "^15.1.0",
"prettier": "^2.0.5",
"sinon": "^9.0.2"
},
"scripts": {
"devtest": "npm install; npm run lint; npm run unit-test; npm run devdeploy;",
"devdeploy": "mvn clean install -Pdev -Dorg=$npm_config_org -Dbearer=$(gcloud auth print-access-token); npm run integration-test",
"lint": "npm run apigeelint && npm run eslint",
"apigeelint": "mkdir -p code_test_output; apigeelint -s apiproxy -e PO013,PO025 -f html.js > code_test_output/apigeelint-output.html",
"eslint": "mkdir -p code_test_output; eslint -c .eslintrc-jsc.yml --format html ./apiproxy/resources/jsc > code_test_output/eslint-output.html",
"unit-test": "mkdir -p code_test_output; mocha ./test/unit/*.js --reporter mocha-simple-html-reporter --reporter-options output=code_test_output/coverage-output.html",
"integration-test": "mkdir -p target/func_test_output; node ./node_modules/.bin/cucumber-js ./target/test/integration --format json:./target/func_test_output/reports.json --publish-quiet"
}
}