Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit a3e0aa6

Browse files
committed
build ts before lint tests
1 parent 40d587b commit a3e0aa6

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

package.json

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "phantom-pool",
3-
"version": "1.2.2",
2+
"name": "@feidao/phantom-pool",
3+
"version": "1.0.1",
44
"description": "Resource pool for Node.js PhantomJS",
55
"main": "./lib/index.js",
66
"types": "./lib/",
@@ -11,8 +11,9 @@
1111
"test": "npm run test:fast",
1212
"build": "npm run clean && tsc && babel ./dist --out-dir ./lib --copy-files",
1313
"clean": "rimraf ./lib ./dist",
14-
"lint": "tslint -p tsconfig.json && eslint test/",
15-
"pretest": "npm run lint && tsc",
14+
"lint:ts": "tslint -p tsconfig.json",
15+
"lint:test": "eslint test/",
16+
"pretest": "npm run lint:ts && tsc && npm run lint:test",
1617
"test:fast": "babel-tape-runner test/*.test.js",
1718
"test:watch": "nodemon --exec npm -- run --silent test:fast || true",
1819
"semantic-release": "git push && npm test && semantic-release pre && npm run build && npm publish && semantic-release post"

0 commit comments

Comments
 (0)