Better naming

This commit is contained in:
Dolan
2018-10-26 20:30:42 +01:00
parent 3346b97ee7
commit ea3777d28b
2 changed files with 3 additions and 4 deletions

View File

@ -6,7 +6,7 @@ install:
- npm install -g codecov - npm install -g codecov
script: script:
- npm run lint - npm run lint
- npm test - npm run test.coverage
- npm run style - npm run style
- npm run build - npm run build
- npm run ts-node -- ./demo/demo1.ts - npm run ts-node -- ./demo/demo1.ts
@ -49,7 +49,6 @@ after_success:
- npm run typedoc - npm run typedoc
- echo "docx.js.org" > docs/.nojekyll - echo "docx.js.org" > docs/.nojekyll
- echo "docx.js.org" > docs/CNAME - echo "docx.js.org" > docs/CNAME
- npm run coverage
- codecov - codecov
deploy: deploy:
provider: pages provider: pages

View File

@ -6,6 +6,7 @@
"scripts": { "scripts": {
"pretest": "rimraf ./build", "pretest": "rimraf ./build",
"test": "mocha-webpack \"src/**/*.ts\"", "test": "mocha-webpack \"src/**/*.ts\"",
"test.coverage": "nyc npm test",
"test.watch": "npm test -- --watch", "test.watch": "npm test -- --watch",
"prepublishOnly": "npm run build", "prepublishOnly": "npm run build",
"lint": "tslint --project .", "lint": "tslint --project .",
@ -17,8 +18,7 @@
"style": "prettier -l \"src/**/*.ts\"", "style": "prettier -l \"src/**/*.ts\"",
"style.fix": "npm run style -- --write", "style.fix": "npm run style -- --write",
"fix-types": "node types-absolute-fixer.js", "fix-types": "node types-absolute-fixer.js",
"ts-node": "ts-node", "ts-node": "ts-node"
"coverage": "nyc report"
}, },
"pre-commit": [ "pre-commit": [
"style", "style",