Skip to content

Commit c93bab7

Browse files
committed
ref: Use rimraf
1 parent f37baee commit c93bab7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/nextjs/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,9 @@
5555
"test": "run-s test:unit test:integration",
5656
"test:watch": "jest --watch",
5757
"test:unit": "jest",
58-
"test:integration": "run-s test:integration:build test:integration:server test:integration:client",
59-
"test:integration:build": "cd test/integration && rm -rf node_modules .next .env.local && yarn && yarn build",
58+
"test:integration": "run-s test:integration:clean test:integration:build test:integration:server test:integration:client",
59+
"test:integration:clean": "cd test/integration && rimraf node_modules .next .env.local",
60+
"test:integration:build": "cd test/integration && yarn && yarn build",
6061
"test:integration:server": "cd test/integration && node test/server.js --silent",
6162
"test:integration:client": "cd test/integration && node test/client.js --silent",
6263
"pack": "npm pack",

0 commit comments

Comments
 (0)