mirror of https://github.com/BTCPrivate/copay.git
package: add test script for prettier (not yet for CI)
This commit is contained in:
parent
0ba00286cd
commit
2fd40a717e
|
@ -14,7 +14,7 @@ env:
|
|||
|
||||
script:
|
||||
- npm run apply:$DISTRIBUTION
|
||||
- npm run test-ci
|
||||
- npm run test:ci
|
||||
- npm run e2e
|
||||
|
||||
after_success:
|
||||
|
|
13
package.json
13
package.json
|
@ -22,7 +22,7 @@
|
|||
"url": "https://github.com/bitpay/copay/issues"
|
||||
},
|
||||
"scripts": {
|
||||
"postinstall": "sed -i -e \"s/.*require(...\\/...);//g\" node_modules/asn1.js-rfc5280/index.js && npm run e2e-update",
|
||||
"postinstall": "sed -i -e \"s/.*require(...\\/...);//g\" node_modules/asn1.js-rfc5280/index.js && npm run e2e:update",
|
||||
"start": "ionic serve --no-open",
|
||||
"clean": "rm -rf platforms && rm -rf plugins && rm -f config.xml",
|
||||
"prepare:copay": "npm run clean && npm run apply:copay && cordova prepare && npm run fix:fcm",
|
||||
|
@ -33,13 +33,14 @@
|
|||
"ionic:build": "ionic-app-scripts build",
|
||||
"ionic:serve": "ionic-app-scripts serve",
|
||||
"test": "ng test --browsers=Chrome",
|
||||
"test-coverage": "ng test --code-coverage",
|
||||
"test-ci": "ng test --watch=false --code-coverage --no-progress",
|
||||
"test:coverage": "ng test --code-coverage",
|
||||
"test:ci": "ng test --watch=false --code-coverage --no-progress",
|
||||
"test:prettier": "prettier --list-different 'src/**/*.ts'",
|
||||
"fix:prettier": "prettier 'src/**/*.ts' --write",
|
||||
"fix:tslint": "tslint --fix --project . src/**/*.ts",
|
||||
"e2e": "npm run ionic:build && npm run e2e-test",
|
||||
"e2e-test": "protractor",
|
||||
"e2e-update": "webdriver-manager update --gecko false",
|
||||
"e2e": "npm run ionic:build && npm run e2e:test",
|
||||
"e2e:test": "protractor",
|
||||
"e2e:update": "webdriver-manager update --gecko false",
|
||||
"extract": "ngx-translate-extract --input ./src --output ./src/assets/i18n/app.pot --clean --sort --format pot",
|
||||
"start:ios": "npm run build:ios && npm run open:ios",
|
||||
"start:android": "npm run run:android",
|
||||
|
|
Loading…
Reference in New Issue