Better naming
This commit is contained in:
@ -6,7 +6,7 @@ install:
|
||||
- npm install -g codecov
|
||||
script:
|
||||
- npm run lint
|
||||
- npm test
|
||||
- npm run test.coverage
|
||||
- npm run style
|
||||
- npm run build
|
||||
- npm run ts-node -- ./demo/demo1.ts
|
||||
@ -49,7 +49,6 @@ after_success:
|
||||
- npm run typedoc
|
||||
- echo "docx.js.org" > docs/.nojekyll
|
||||
- echo "docx.js.org" > docs/CNAME
|
||||
- npm run coverage
|
||||
- codecov
|
||||
deploy:
|
||||
provider: pages
|
||||
|
@ -6,6 +6,7 @@
|
||||
"scripts": {
|
||||
"pretest": "rimraf ./build",
|
||||
"test": "mocha-webpack \"src/**/*.ts\"",
|
||||
"test.coverage": "nyc npm test",
|
||||
"test.watch": "npm test -- --watch",
|
||||
"prepublishOnly": "npm run build",
|
||||
"lint": "tslint --project .",
|
||||
@ -17,8 +18,7 @@
|
||||
"style": "prettier -l \"src/**/*.ts\"",
|
||||
"style.fix": "npm run style -- --write",
|
||||
"fix-types": "node types-absolute-fixer.js",
|
||||
"ts-node": "ts-node",
|
||||
"coverage": "nyc report"
|
||||
"ts-node": "ts-node"
|
||||
},
|
||||
"pre-commit": [
|
||||
"style",
|
||||
|
Reference in New Issue
Block a user