marko/benchmark/size/package.json
Michael Rawlings 0f5e639775 Format + lint (#1016)
* add prettierignore

* switch to eslint:recommended + eslint-config-prettier

* fix eslint violations

* remove more .jshintrc files

* better conditional structure

* add prettier and update prettier ignore

* add precommit hook to run prettier

* add lint check to precommit and format check to ci

* format all the things

* add generated files

* let npm do it's thing with package.json
2018-03-09 10:02:11 -08:00

71 lines
2.8 KiB
JSON

{
"name": "size-benchmark",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"setup": "npm install --silent && npm link ../../",
"build": "npm run bundle --silent && npm run minify --silent",
"build-marko": "npm run bundle-marko --silent && node minify.js marko",
"build-vue": "npm run bundle-vue --silent && node minify.js vue",
"build-react": "npm run bundle-react --silent && node minify.js react",
"build-inferno":
"npm run bundle-inferno --silent && node minify.js inferno",
"bundle":
"mkdir -p build/bundles && npm run bundle-marko && npm run bundle-react && npm run bundle-vue && npm run bundle-preact && npm run bundle-inferno",
"bundle-marko":
"node ../../scripts/build src && NODE_ENV=production rollup -c marko/rollup.config.js",
"bundle-react": "NODE_ENV=production rollup -c react/rollup.config.js",
"bundle-preact":
"NODE_ENV=production rollup -c preact/rollup.config.js",
"bundle-vue": "NODE_ENV=production rollup -c vue/rollup.config.js",
"bundle-inferno":
"NODE_ENV=production rollup -c inferno/rollup.config.js",
"minify": "node minify.js",
"http-server": "http-server"
},
"author": "Patrick Steele-Idem <pnidem@gmail.com>",
"license": "MIT",
"dependencies": {
"babel-plugin-inferno": "^1.8.0",
"babel-plugin-transform-es2015-block-scoping": "^6.21.0",
"babel-plugin-transform-react-constant-elements": "^6.9.1",
"babel-plugin-transform-react-jsx": "^6.8.0",
"babel-plugin-transform-runtime": "^6.15.0",
"babel-preset-es2015": "^6.18.0",
"babel-preset-es2015-loose": "^8.0.0",
"babel-preset-react": "^6.16.0",
"babel-preset-stage-0": "^6.16.0",
"babelify": "^7.3.0",
"envify": "^4.0.0",
"format-number": "^2.0.1",
"google-closure-compiler-js": "^20161201.0.0",
"http-server": "^0.9.0",
"inferno": "^1.3.0-rc.1",
"inferno-component": "^1.3.0-rc.1",
"inferno-server": "^1.3.0-rc.1",
"markoify": "^2.1.1",
"minprops": "^1.0.0",
"preact": "^7.1.0",
"react": "^15.4.1",
"react-dom": "^15.4.1",
"rollup": "^0.41.6",
"rollup-plugin-babel": "^2.7.1",
"rollup-plugin-browserify-transform": "^0.1.0",
"rollup-plugin-commonjs": "^8.0.2",
"rollup-plugin-marko": "0.0.2",
"rollup-plugin-node-resolve": "^3.0.0",
"uglify-js": "^2.7.5",
"vue": "^2.1.6",
"vueify": "^9.4.0"
},
"repository": {
"type": "git",
"url": "https://github.com/marko-js/marko.git"
},
"browser": {
"events": "events-light"
},
"devDependencies": {}
}