Skip to content

Commit 1efdb9a

Browse files
changed Package.json as requested
1 parent 1ba482a commit 1efdb9a

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,11 @@
2121
"scripts": {
2222
"build": "babel --out-dir=dist source",
2323
"dev": "babel --out-dir=dist --watch source",
24-
"clean": "rm -rf",
25-
"setup": "npm run setup:ubuntu",
26-
"setup:ubuntu": "npm run clean && npm run build && npm i -g .",
27-
"setup:windows":"rmdir /s /q dist && yarn build",
24+
"clean:ubuntu": "rm -rf dist",
25+
"clean:windows": "rmdir /s /q dist",
26+
"setup": "npm run setup:ubuntu || npm run setup:windows",
27+
"setup:ubuntu": "npm run clean:ubuntu && npm run build && npm i -g .",
28+
"setup:windows":"npm run clean:windows && npm run build",
2829
"reset": "npm run reset:ubuntu",
2930
"reset:ubuntu": "npm uninstall -g magicc && npm run setup:ubuntu",
3031
"test": "prettier --check . && xo && ava"

0 commit comments

Comments
 (0)