build: unused dep, add prepack
This commit is contained in:
parent
5c1ec76feb
commit
e051d8171e
2 changed files with 2 additions and 3 deletions
|
@ -27,7 +27,8 @@
|
||||||
"url": "https://github.com/mcataford/packwatch.git"
|
"url": "https://github.com/mcataford/packwatch.git"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prebuild": "rimraf dist",
|
"prepack": "yarn build",
|
||||||
|
"prebuild": "rm -rf dist",
|
||||||
"build": "babel src/index.ts src/cli.ts -d dist --extensions .ts",
|
"build": "babel src/index.ts src/cli.ts -d dist --extensions .ts",
|
||||||
"lint": "eslint src/**/*.ts",
|
"lint": "eslint src/**/*.ts",
|
||||||
"lint:fix": "yarn lint --fix",
|
"lint:fix": "yarn lint --fix",
|
||||||
|
@ -55,7 +56,6 @@
|
||||||
"eslint-plugin-prettier": "^3.1.2",
|
"eslint-plugin-prettier": "^3.1.2",
|
||||||
"jest": "^26.0.1",
|
"jest": "^26.0.1",
|
||||||
"prettier": "^2.0.5",
|
"prettier": "^2.0.5",
|
||||||
"rimraf": "^3.0.2",
|
|
||||||
"typescript": "^4.1.3"
|
"typescript": "^4.1.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -5592,7 +5592,6 @@ __metadata:
|
||||||
eslint-plugin-prettier: ^3.1.2
|
eslint-plugin-prettier: ^3.1.2
|
||||||
jest: ^26.0.1
|
jest: ^26.0.1
|
||||||
prettier: ^2.0.5
|
prettier: ^2.0.5
|
||||||
rimraf: ^3.0.2
|
|
||||||
typescript: ^4.1.3
|
typescript: ^4.1.3
|
||||||
bin:
|
bin:
|
||||||
packwatch: ./dist/cli.js
|
packwatch: ./dist/cli.js
|
||||||
|
|
Reference in a new issue