Files
weave-scope/client/package.json
David Kaltschmidt 8c5638edb2 Asset fingerprinting
* adds `?hash` to JS and CSS bundle URLs against caching in production
* uses `html-webpack-plugin` to generate html dynamically
* html based on template in `app/html/index.html`
* per-app html files no longer needed
* `build/` dir is now completely deleteable, and fully gitignored
* top-level `make` now requires `client/app` to pick up on html and
  style changes
* cleaned up `server.js` code for production bundle testing
* added readme entry about testing production bundles
2016-04-20 12:33:22 +02:00

103 lines
2.8 KiB
JSON

{
"name": "weave-scope",
"version": "1.2.0",
"description": "SPA JS app for Weave Scope visualising the application network.",
"repository": "weaveworks/scope",
"license": "Apache-2.0",
"private": true,
"dependencies": {
"classnames": "^2.2.1",
"d3": "~3.5.5",
"dagre": "0.7.4",
"debug": "~2.2.0",
"filesize": "3.2.1",
"flux": "2.1.1",
"font-awesome": "4.5.0",
"font-awesome-webpack": "0.0.4",
"immutable": "~3.7.4",
"lodash": "~4.6.1",
"materialize-css": "0.97.5",
"moment": "2.12.0",
"page": "1.7.0",
"react": "^0.14.7",
"react-addons-pure-render-mixin": "^0.14.7",
"react-addons-transition-group": "^0.14.7",
"react-addons-update": "^0.14.7",
"react-dom": "^0.14.7",
"react-motion": "0.3.1",
"react-mixin": "^3.0.3",
"reqwest": "~2.0.5",
"timely": "0.1.0"
},
"devDependencies": {
"autoprefixer": "6.3.3",
"babel-core": "6.7.2",
"babel-eslint": "5.0.0",
"babel-jest": "9.0.3",
"babel-loader": "6.2.4",
"babel-preset-es2015": "6.6.0",
"babel-preset-react": "6.5.0",
"clean-webpack-plugin": "^0.1.8",
"css-loader": "0.23.1",
"eslint": "2.4.0",
"eslint-config-airbnb": "6.1.0",
"eslint-loader": "1.3.0",
"eslint-plugin-jasmine": "1.6.0",
"eslint-plugin-react": "4.2.2",
"extract-text-webpack-plugin": "^1.0.1",
"file-loader": "0.8.5",
"html-webpack-plugin": "^2.16.0",
"http-proxy-rules": "^1.0.1",
"immutable-devtools": "0.0.6",
"jest-cli": "~0.9.2",
"json-loader": "0.5.4",
"less": "~2.6.1",
"less-loader": "2.2.2",
"postcss-loader": "0.8.2",
"react-addons-perf": "^0.14.0",
"style-loader": "0.13.0",
"url": "0.11.0",
"url-loader": "0.5.7",
"webpack": "~1.12.4"
},
"optionalDependencies": {
"browser-perf": "^1.4.5",
"express": "~4.13.3",
"http-proxy": "^1.12.0",
"perfjankie": "^2.1.0",
"react-hot-loader": "~1.3.0",
"webpack-dev-server": "~1.14.1"
},
"scripts": {
"build": "webpack --config webpack.production.config.js",
"start": "node server.js",
"start-production": "NODE_ENV=production node server.js",
"test": "jest",
"coveralls": "cat coverage/lcov.info | coveralls",
"lint": "eslint app",
"clean": "rm build/app.js",
"noprobe": "../scope stop && ../scope launch --no-probe --app.window 8760h",
"loadreport": "npm run noprobe && sleep 1 && curl -X POST -H \"Content-Type: application/json\" http://$BACKEND_HOST/api/report -d"
},
"jest": {
"scriptPreprocessor": "<rootDir>/node_modules/babel-jest",
"testFileExtensions": [
"js"
],
"testPathDirs": [
"<rootDir>/app/scripts"
],
"moduleFileExtensions": [
"js",
"json"
],
"unmockedModulePathPatterns": [
"/dispatcher/",
"/node_modules/"
]
},
"engines": {
"node": ">=4.2.2"
}
}