Skip to content

Commit 11e53aa

Browse files
committed
Adding script clean and adding it to solid script
For my own sanity - I keep forgetting to remove config files if I want to get updates from default-templates and default-views. Ignore this if people feel it's to invasive
1 parent 41a7c96 commit 11e53aa

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,12 @@
9595
},
9696
"main": "index.js",
9797
"scripts": {
98-
"solid": "node ./bin/solid",
98+
"solid": "npm run clean && node ./bin/solid",
9999
"standard": "standard '{bin,examples,lib,test}/**/*.js'",
100100
"nyc": "NODE_TLS_REJECT_UNAUTHORIZED=0 nyc --reporter=text-summary mocha",
101101
"mocha": "NODE_TLS_REJECT_UNAUTHORIZED=0 mocha",
102-
"test": "npm run standard && npm run nyc"
102+
"test": "npm run standard && npm run nyc",
103+
"clean": "rimraf config/templates config/views"
103104
},
104105
"nyc": {
105106
"reporter": [

0 commit comments

Comments
 (0)