Skip to content

Commit 01bfc95

Browse files
committed
chore: Added some helper scripts
1 parent e497c91 commit 01bfc95

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,11 @@
2020
"build": "tsc && cp svg.d.ts dist/",
2121
"pre-test": "npx playwright install && npm link && cd test-app && npm run pre-test",
2222
"test": "cd test-app && npm run test",
23-
"test:all": "npm ci && npm run build && npm run pre-test && npm run test"
23+
"test:all": "npm ci && npm run build && npm run pre-test && npm run test",
24+
"clean": "rimraf dist && rimraf node_modules",
25+
"clean:test-app": "rimraf test-app/node_modules && rimraf test-app/build && rimraf test-app/test-results",
26+
"clean:all": "npm run clean:test-app && npm run clean",
27+
"bootstrap": "npm ci && cd test-app && npm ci"
2428
},
2529
"main": "dist/index.js",
2630
"types": "dist/index.d.ts",
@@ -76,6 +80,7 @@
7680
"eslint": "^8.56.0",
7781
"eslint-config-prettier": "^8.10.0",
7882
"eslint-plugin-prettier": "^5.1.2",
83+
"rimraf": "^5.0.5",
7984
"svelte": "^4.2.8",
8085
"svelte-check": "^3.6.2",
8186
"svelte-preprocess": "^5.1.3",

0 commit comments

Comments
 (0)