-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
66 lines (66 loc) · 2.7 KB
/
package.json
File metadata and controls
66 lines (66 loc) · 2.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
"name": "moniker-web-client",
"version": "0.1.0",
"description": "Web client for moniker",
"main": "servePath.js",
"scripts": {
"prepack": "npm run make",
"test": "echo \"Error: no test specified\" && exit 1",
"livereload": "livereload ./public/",
"watch": "parallelshell 'npm run livereload' 'npm run watch:styles' 'npm run watch:scripts' 'npm run watch:html'",
"build:styles": "ho-compile -p src,node_modules --source-map < ./src/styles.less | autoprefixer -b \"last 2 versions\" > ./public/styles.css",
"make:styles": "ho-compile -p src,node_modules -c < ./src/styles.less | autoprefixer -b \"last 2 versions \" > ./public/styles.css",
"watch:styles": "find src -name '*.less' -print0 | xargs -0 ./bin/lesswatch -e src/styles.less -o ./public/styles.css",
"build:scripts": "browserify ./src/app.jsx -t babelify -t flowcheck --debug > ./public/main.js",
"make:scripts": "browserify ./src/app.jsx -t babelify | uglifyjs > ./public/main.js",
"watch:scripts": "watchify ./src/app.jsx -t babelify -t flowcheck --debug -o ./public/main.js -v",
"make:polyfill": "browserify ./src/polyfill.js | uglifyjs > ./public/polyfill.js",
"make:assets": "cp -r ./src/assets ./public/assets",
"make:html": "mustache package.json ./src/tmpl/index.hjs > ./public/index.html",
"watch:html": "watch 'npm run make:html' ./src/tmpl",
"clean": "rm -rf ./public/ && mkdir ./public",
"prebuild": "npm run clean",
"build": "npm run make:assets && npm run make:html && npm run make:polyfill && npm run build:scripts && npm run build:styles",
"premake": "npm run clean",
"make": "NODE_ENV=prod npm run make:assets && npm run make:html && npm run make:polyfill && npm run make:scripts && npm run make:styles"
},
"files": [
"public/**",
"servePath.js"
],
"private": "true",
"author": "Matt Styles",
"repository": "git://github.com/mattstyles/moniker-web-client.git",
"license": "WTFPL",
"dependencies": {
"babel": "^5.0.12",
"classnames": "^1.2.1",
"eventemitter3": "^0.1.6",
"flux": "^2.0.1",
"ho-grid": "^2.0.0",
"react": "^0.13.1",
"react-router": "^0.13.2",
"suitcss": "^0.6.0",
"superagent": "^1.1.0",
"whatwg-fetch": "^0.7.0"
},
"devDependencies": {
"autoprefixer": "^5.1.1",
"autoprefixer-transform": "^0.3.0",
"babelify": "^6.0.2",
"browserify": "^9.0.7",
"chalk": "^1.0.0",
"chokidar": "^1.0.1",
"ho-compiler": "^0.4.0",
"flowcheck": "^0.2.3",
"ho-compiler": "^0.4.0",
"ho-conformance": "^0.1.0",
"livereload": "^0.3.7",
"minimist": "^1.1.1",
"mustache": "^2.0.0",
"parallelshell": "^1.1.1",
"uglifyjs": "^2.4.10",
"watch": "^0.16.0",
"watchify": "^3.1.0"
}
}