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
.gitignore | changed |
package.json | changed |
package.json | ||
---|---|---|
@@ -9,13 +9,21 @@ | ||
9 | 9 | "format": "snazzy --format", |
10 | 10 | "test": "(npm run spec & npm run feature)", |
11 | 11 | "spec": "node spec", |
12 | 12 | "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:*" | |
17 | 19 | }, |
20 | + "browserify": { | |
21 | + "transform": [ | |
22 | + "babelify", | |
23 | + "sheetify/transform" | |
24 | + ] | |
25 | + }, | |
18 | 26 | "repository": { |
19 | 27 | "type": "git", |
20 | 28 | "url": "git+https://github.com/ahdinosaur/production-todomvc.git" |
21 | 29 | }, |
@@ -38,8 +46,9 @@ | ||
38 | 46 | "url": "https://github.com/ahdinosaur/production-todomvc/issues" |
39 | 47 | }, |
40 | 48 | "homepage": "https://github.com/ahdinosaur/production-todomvc#readme", |
41 | 49 | "devDependencies": { |
50 | + "budo": "^6.1.0", | |
42 | 51 | "cuke-tap": "^1.0.2", |
43 | 52 | "jsdom": "^7.1.0", |
44 | 53 | "nodemon": "^1.8.1", |
45 | 54 | "tape": "^4.2.2" |
@@ -48,8 +57,13 @@ | ||
48 | 57 | "babel-core": "^6.2.1", |
49 | 58 | "babel-plugin-transform-object-rest-spread": "^6.1.18", |
50 | 59 | "babel-preset-es2015": "^6.1.18", |
51 | 60 | "babel-preset-react": "^6.1.18", |
61 | + "babelify": "^7.2.0", | |
52 | 62 | "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" | |
54 | 68 | } |
55 | 69 | } |
Built with git-ssb-web