Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
85 lines (84 sloc) 2.64 KB
{
"name": "howtocenterincss",
"version": "1.0.0",
"description": "",
"main": "js/app.js",
"repository": {
"type": "git",
"url": "https://github.com/oliverzheng/howtocenterincss.git"
},
"scripts": {
"build": "npm run js-build && npm run css-build && npm run html",
"build-minify": "npm run js-minify && npm run css-minify && npm run html-minify",
"watch": "npm run js-watch & npm run css-watch",
"js-watch": "watchify -o build/bundle.js -v -d .",
"js-build": "browserify . > build/bundle.js",
"js-minify": "NODE_ENV=production browserify . | uglifyjs -cm > build/bundle.min.js",
"css-watch": "catw -c 'lessc -' 'bower_components/normalize.css/normalize.css' 'css/*.less' -o build/bundle.css -v",
"css-build": "cat bower_components/normalize.css/normalize.css css/*.less | lessc - build/bundle.css",
"css-minify": "cat bower_components/normalize.css/normalize.css css/*.less | lessc - | uglifycss > build/bundle.min.css",
"html": "node js/renderedHTML.js > build/index.html",
"html-minify": "NODE_ENV=production node js/renderedHTML.js > build/index.html",
"test-build": "jsx --harmony --strip-types js buildtest",
"snapshot-record": "npm run test-build && CREATE_SNAPSHOTS=1 mocha -u tdd -t 60000 buildtest/tests/",
"snapshot-test": "npm run test-build && mocha -u tdd -t 60000 buildtest/tests/",
"test": "npm run snapshot-test"
},
"author": "",
"license": "ISC",
"browserify": {
"transform": [
[
"reactify",
{
"stripTypes": true,
"es6": true,
"harmony": true
}
],
"envify",
"browserify-shim"
]
},
"browserify-shim": {
"react": "global:React"
},
"dependencies": {
"blink-diff": "^1.0.10",
"browserify": "^8.1.1",
"browserify-shim": "^3.8.3",
"catw": "^0.2.0",
"chai": "^2.3.0",
"chai-as-promised": "^5.0.0",
"classnames": "^1.2.0",
"colors": "^1.0.3",
"envify": "^3.2.0",
"fastclick": "^1.0.3",
"gm": "^1.17.0",
"html": "0.0.7",
"invariant": "^2.0.0",
"js-combinatorics": "^0.4.0",
"js-string-escape": "^1.0.0",
"keymirror": "^0.1.1",
"less": "^2.3.1",
"location-bar": "^2.0.0",
"mocha": "^2.2.4",
"mustache": "^1.1.0",
"node-jsx": "^0.13.3",
"pngjs-image": "^0.11.4",
"q": "^1.4.1",
"qs": "^3.1.0",
"react": "^0.13.1",
"react-router": "^0.13.1",
"react-tools": "^0.13.2",
"reactify": "^1.0.0",
"shortid": "^2.1.3",
"tmp": "0.0.26",
"uglify-js": "^2.4.19",
"uglifycss": "0.0.13",
"underscore": "^1.8.3",
"watchify": "^2.2.1",
"wd": "^0.3.11",
"wd-screenshot": "^0.1.0"
}
}