Skip to content

Instantly share code, notes, and snippets.

@HendrikRoth
Created May 14, 2015 18:31
Show Gist options
  • Save HendrikRoth/ee7c285cd1324a5100b6 to your computer and use it in GitHub Desktop.
Save HendrikRoth/ee7c285cd1324a5100b6 to your computer and use it in GitHub Desktop.
1 {
2 "name": "...",
3 "version": "1.0.0",
4 "description": "...",
5 "main": "index.js",
6 "scripts": {
7 "build:css": "stylus --compress ../lib/.../index.styl --out dist/....css",
8 "watch:css": "stylus --watch ../lib/.../index.styl --out dist/....css",
9 "build:js": "browserify ../lib/.../standalone.js --standalone bootstrap > dist/....js",
10 "watch:js": "watchify ../lib/.../standalone.js --standalone bootstrap -o dist/....js",
11 "dev": "parallelshell \"npm run watch:css\" \"npm run watch:js\""
12 },
13 "author": "...",
14 "license": "ISC",
15 "devDependencies": {
16 "browserify": "^10.1.1",
17 "browserify-global-shim": "^1.0.0",
18 "mithril": "^0.2.0",
19 "parallelshell": "^1.1.1",
20 "stylus": "^0.51.1",
21 "watchify": "^3.2.1"
22 },
23 "browserify": {
24 "transform": [
25 "browserify-global-shim"
26 ]
27 },
28 "browserify-global-shim": {
29 "mithril": "m"
30 }
31 }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment