git ssb

1+

dinoworm ๐Ÿ› / catstack



Commit 797539afe1ecc1750ba1b41a253a250e56b5b7ca

iterate on dev and prod scripts

use `npm-run-all` to do cross-platform and better && and &
Michael Williams committed on 11/28/2015, 5:44:13 AM
Parent: 54735d800a2e5fe6dbbba9ed08b40649740fb767

Files changed

.gitignorechanged
package.jsonchanged
.gitignoreView
@@ -1,3 +1,4 @@
11 /node_modules
22 npm-debug.log*
33
4+/assets
package.jsonView
@@ -9,13 +9,21 @@
99 "format": "snazzy --format",
1010 "test": "(npm run spec & npm run feature)",
1111 "spec": "node spec",
1212 "feature": "node feature",
13- "dev-server": "nodemon server",
14- "prod-server": "node server",
15- "dev-client": "budo client -d --serve bundle.js --live",
16- "prod-client": "browserify client -o bundle.js -g uglifyify"
13+ "dev:client": "budo client --dir assets --serve bundle.js --live -- -d",
14+ "dev:server": "nodemon server",
15+ "prod:client": "browserify client -o assets/bundle.js -g uglifyify",
16+ "prod:server": "node server",
17+ "dev": "npm-run-all -p dev:*",
18+ "prod": "npm-run-all -s prod:*"
1719 },
20+ "browserify": {
21+ "transform": [
22+ "babelify",
23+ "sheetify/transform"
24+ ]
25+ },
1826 "repository": {
1927 "type": "git",
2028 "url": "git+https://github.com/ahdinosaur/production-todomvc.git"
2129 },
@@ -38,8 +46,9 @@
3846 "url": "https://github.com/ahdinosaur/production-todomvc/issues"
3947 },
4048 "homepage": "https://github.com/ahdinosaur/production-todomvc#readme",
4149 "devDependencies": {
50+ "budo": "^6.1.0",
4251 "cuke-tap": "^1.0.2",
4352 "jsdom": "^7.1.0",
4453 "nodemon": "^1.8.1",
4554 "tape": "^4.2.2"
@@ -48,8 +57,13 @@
4857 "babel-core": "^6.2.1",
4958 "babel-plugin-transform-object-rest-spread": "^6.1.18",
5059 "babel-preset-es2015": "^6.1.18",
5160 "babel-preset-react": "^6.1.18",
61+ "babelify": "^7.2.0",
5262 "feathers": "^1.2.0",
53- "ramda": "^0.18.0"
63+ "lnfs-cli": "^1.0.1",
64+ "npm-run-all": "^1.3.2",
65+ "ramda": "^0.18.0",
66+ "sheetify": "^3.1.0",
67+ "uglifyify": "^3.0.1"
5468 }
5569 }

Built with git-ssb-web