Skip to content

Commit

Permalink
build ts before lint tests
Browse files Browse the repository at this point in the history
  • Loading branch information
taoqf committed Jul 17, 2019
1 parent 40d587b commit a3e0aa6
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "phantom-pool",
"version": "1.2.2",
"name": "@feidao/phantom-pool",
"version": "1.0.1",
"description": "Resource pool for Node.js PhantomJS",
"main": "./lib/index.js",
"types": "./lib/",
Expand All @@ -11,8 +11,9 @@
"test": "npm run test:fast",
"build": "npm run clean && tsc && babel ./dist --out-dir ./lib --copy-files",
"clean": "rimraf ./lib ./dist",
"lint": "tslint -p tsconfig.json && eslint test/",
"pretest": "npm run lint && tsc",
"lint:ts": "tslint -p tsconfig.json",
"lint:test": "eslint test/",
"pretest": "npm run lint:ts && tsc && npm run lint:test",
"test:fast": "babel-tape-runner test/*.test.js",
"test:watch": "nodemon --exec npm -- run --silent test:fast || true",
"semantic-release": "git push && npm test && semantic-release pre && npm run build && npm publish && semantic-release post"
Expand Down

0 comments on commit a3e0aa6

Please sign in to comment.