Skip to content

Commit 020c63f

Browse files
committed
Cleaned package.json
1 parent fb0e4c3 commit 020c63f

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,14 @@
2525
"type": "git",
2626
"url": "https://github.com/gabrielbull/react-desktop.git"
2727
},
28+
"scripts": {
29+
"test": "./node_modules/.bin/mocha test",
30+
"eslint": "./node_modules/.bin/eslint ./src ./test",
31+
"prebuild": "rsync -av -delete . build --exclude build --exclude .git --exclude .idea && npm run eslint && npm run test",
32+
"build": "./node_modules/.bin/babel ./build/src --out-dir ./build/src && ./node_modules/.bin/babel ./build/index.js --out-file ./build/index.js && ./node_modules/.bin/babel ./build/macOs.js --out-file ./build/osx.js && ./node_modules/.bin/babel ./build/macOs.js --out-file ./build/macOs.js && ./node_modules/.bin/babel ./build/windows.js --out-file ./build/windows.js",
33+
"playground": "./node_modules/.bin/webpack-dev-server --config ./playground/webpack.config.js --colors --inline --port 3001",
34+
"build-publish": "npm run build && npm publish ./build"
35+
},
2836
"dependencies": {
2937
"radium": "^0.18.1",
3038
"rubber-band-effect": "^0.1.1"
@@ -55,13 +63,5 @@
5563
"react-hot-loader": "^1.3.0",
5664
"webpack": "^1.13.2",
5765
"webpack-dev-server": "^1.16.1"
58-
},
59-
"scripts": {
60-
"test": "./node_modules/.bin/mocha test",
61-
"eslint": "./node_modules/.bin/eslint ./src ./test",
62-
"prebuild": "rsync -av -delete . build --exclude build --exclude .git --exclude .idea && npm run eslint && npm run test",
63-
"build": "./node_modules/.bin/babel ./build/src --out-dir ./build/src && ./node_modules/.bin/babel ./build/index.js --out-file ./build/index.js && ./node_modules/.bin/babel ./build/macOs.js --out-file ./build/osx.js && ./node_modules/.bin/babel ./build/macOs.js --out-file ./build/macOs.js && ./node_modules/.bin/babel ./build/windows.js --out-file ./build/windows.js",
64-
"playground": "./node_modules/.bin/webpack-dev-server --config ./playground/webpack.config.js --colors --inline --port 3000",
65-
"build-publish": "npm run build && npm publish ./build"
6666
}
6767
}

0 commit comments

Comments
 (0)