Skip to content

Commit c08c379

Browse files
authored
chore: remove rimraf (#9)
Fixes #5.
1 parent 95ae8eb commit c08c379

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"scripts": {
1010
"prepack": "npmignore --auto --commentLines=autogenerated && npm run build",
11-
"build": "rimraf lib && babel src --out-dir lib --copy-files",
11+
"build": "premove lib && babel src --out-dir lib --copy-files",
1212
"create": "node ./scripts/create-rule",
1313
"flow": "flow",
1414
"lint:js:fix": "npm run lint -- --fix",
@@ -17,7 +17,6 @@
1717
"lint": "npm run lint:js && npm run lint:docs",
1818
"prepublish": "not-in-publish || npm run prepublishOnly",
1919
"prepublishOnly": "safe-publish-latest && npm run lint && npm run flow && npm run tests-only",
20-
"pretest": "npm run lint:fix && npm run flow",
2120
"test": "npm run tests-only",
2221
"tests-only": "tape --require=@babel/register '__tests__/**/*.js'",
2322
"posttest": "npx npm@'>=10.2' audit --production",
@@ -72,7 +71,7 @@
7271
"npmignore": "^0.3.1",
7372
"object.assign": "^4.1.5",
7473
"object.entries": "^1.1.8",
75-
"rimraf": "^3.0.2",
74+
"premove": "^4.0.0",
7675
"safe-publish-latest": "^2.0.0",
7776
"semver": "^6.3.1",
7877
"tape": "^5.9.0",

0 commit comments

Comments
 (0)