2016-02-22 12:39:48 +03:00
|
|
|
{
|
|
|
|
"name": "mozilla-addons-frontend",
|
|
|
|
"version": "0.0.1",
|
|
|
|
"description": "Universal front-end projects to complement addons-server.",
|
|
|
|
"main": "index.js",
|
|
|
|
"private": true,
|
|
|
|
"scripts": {
|
2016-03-29 16:20:50 +03:00
|
|
|
"build": "better-npm-run build",
|
|
|
|
"clean": "rimraf './dist/*+(css|js|map)' './src/webpack-assets.json'",
|
2016-03-08 00:21:12 +03:00
|
|
|
"dev": "concurrently --kill-others 'npm run webpack-dev-server' 'npm run start-dev'",
|
2016-03-29 16:20:50 +03:00
|
|
|
"dev:disco": "npm-better-run dev:disco",
|
|
|
|
"dev:search": "npm-better-run dev:search",
|
|
|
|
"eslint": "npm run lint",
|
|
|
|
"lint": "eslint .",
|
2016-03-29 17:05:12 +03:00
|
|
|
"servertest": "npm run build && better-npm-run servertest",
|
2016-03-29 16:20:50 +03:00
|
|
|
"start": "better-npm-run start",
|
|
|
|
"start-dev": "better-npm-run start-dev",
|
2016-03-29 17:05:12 +03:00
|
|
|
"test": "npm run version-check && npm run unittest && npm run servertest && npm run lint",
|
2016-02-25 00:42:06 +03:00
|
|
|
"unittest": "karma start --single-run",
|
2016-03-29 16:20:50 +03:00
|
|
|
"unittest:dev": "karma start",
|
2016-03-11 19:08:34 +03:00
|
|
|
"version-check": "node bin/version-check.js",
|
2016-03-29 16:20:50 +03:00
|
|
|
"webpack-dev-server": "better-npm-run webpack-dev-server"
|
|
|
|
},
|
|
|
|
"betterScripts": {
|
|
|
|
"build": {
|
|
|
|
"command": "npm run clean && npm run version-check && webpack --verbose --display-error-details --progress --colors --config src/config/webpack.prod.config.babel.js",
|
|
|
|
"env": {
|
|
|
|
"NODE_ENV": "production",
|
|
|
|
"NODE_PATH": "$NODE_PATH:./src"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"dev:disco": {
|
|
|
|
"command": "npm-better-run dev",
|
|
|
|
"env": {
|
|
|
|
"APP_NAME": "disco"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"dev:search": {
|
|
|
|
"command": "npm-better-run dev",
|
|
|
|
"env": {
|
|
|
|
"APP_NAME": "search"
|
|
|
|
}
|
|
|
|
},
|
2016-03-29 17:05:12 +03:00
|
|
|
"servertest": {
|
|
|
|
"command": "mocha --compilers js:babel-register tests/server/",
|
|
|
|
"env": {
|
|
|
|
"NODE_ENV": "production",
|
|
|
|
"NODE_PATH": "$NODE_PATH:./src"
|
|
|
|
}
|
|
|
|
},
|
2016-03-29 16:20:50 +03:00
|
|
|
"start": {
|
|
|
|
"command": "npm run version-check && node bin/server.js",
|
|
|
|
"env": {
|
|
|
|
"NODE_ENV": "production",
|
|
|
|
"NODE_PATH": "$NODE_PATH:./src"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"start-dev": {
|
|
|
|
"command": "node bin/server.js",
|
|
|
|
"env": {
|
|
|
|
"NODE_ENV": "development",
|
2016-03-29 17:05:12 +03:00
|
|
|
"NODE_PATH": "$NODE_PATH:./src",
|
|
|
|
"ENABLE_PIPING": "true"
|
2016-03-29 16:20:50 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"webpack-dev-server": {
|
|
|
|
"command": "node bin/webpack-dev-server.js",
|
|
|
|
"env": {
|
|
|
|
"NODE_ENV": "development",
|
|
|
|
"NODE_PATH": "$NODE_PATH:./src"
|
|
|
|
}
|
|
|
|
}
|
2016-02-22 12:39:48 +03:00
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "git+https://github.com/mozillla/addons-frontend.git"
|
|
|
|
},
|
|
|
|
"author": "Mozilla Add-ons Team",
|
|
|
|
"license": "MPL-2.0",
|
|
|
|
"bugs": {
|
|
|
|
"url": "https://github.com/mozillla/addons-frontend/issues"
|
|
|
|
},
|
2016-02-22 17:40:12 +03:00
|
|
|
"homepage": "https://github.com/mozillla/addons-frontend#readme",
|
|
|
|
"dependencies": {
|
2016-03-29 16:20:50 +03:00
|
|
|
"better-npm-run": "0.0.8",
|
2016-03-05 00:07:47 +03:00
|
|
|
"common-tags": "0.0.3",
|
2016-02-22 21:53:31 +03:00
|
|
|
"express": "4.13.4",
|
2016-03-08 00:21:12 +03:00
|
|
|
"extract-text-webpack-plugin": "1.0.1",
|
2016-03-02 04:27:58 +03:00
|
|
|
"helmet": "1.3.0",
|
2016-03-09 02:02:08 +03:00
|
|
|
"isomorphic-fetch": "2.2.1",
|
2016-03-21 20:14:38 +03:00
|
|
|
"normalize.css": "4.0.0",
|
2016-03-30 22:37:39 +03:00
|
|
|
"normalizr": "2.0.1",
|
2016-03-08 00:21:12 +03:00
|
|
|
"piping": "0.3.0",
|
2016-03-29 19:32:19 +03:00
|
|
|
"react": "0.14.8",
|
2016-03-04 23:56:35 +03:00
|
|
|
"react-redux": "4.4.0",
|
2016-03-10 03:27:20 +03:00
|
|
|
"react-router": "2.0.1",
|
2016-03-22 01:11:54 +03:00
|
|
|
"redux": "3.3.1",
|
|
|
|
"redux-async-connect": "1.0.0-rc4",
|
|
|
|
"redux-logger": "2.6.1",
|
|
|
|
"serialize-javascript": "1.2.0"
|
2016-02-22 17:46:38 +03:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2016-03-08 00:21:12 +03:00
|
|
|
"autoprefixer-loader": "3.2.0",
|
2016-03-23 07:01:34 +03:00
|
|
|
"babel-core": "6.7.4",
|
2016-04-01 02:30:14 +03:00
|
|
|
"babel-eslint": "6.0.2",
|
2016-03-14 03:29:08 +03:00
|
|
|
"babel-istanbul": "0.7.0",
|
2016-03-07 22:58:02 +03:00
|
|
|
"babel-istanbul-loader": "0.1.0",
|
2016-02-27 13:19:17 +03:00
|
|
|
"babel-loader": "6.2.4",
|
2016-03-05 04:36:18 +03:00
|
|
|
"babel-plugin-react-transform": "2.0.2",
|
2016-03-01 00:59:37 +03:00
|
|
|
"babel-plugin-transform-class-properties": "6.6.0",
|
2016-02-25 19:35:30 +03:00
|
|
|
"babel-plugin-transform-decorators-legacy": "1.3.4",
|
2016-03-05 03:02:22 +03:00
|
|
|
"babel-plugin-transform-object-rest-spread": "6.6.5",
|
2016-03-23 07:08:46 +03:00
|
|
|
"babel-polyfill": "6.7.4",
|
2016-03-01 01:29:40 +03:00
|
|
|
"babel-preset-es2015": "6.6.0",
|
2016-02-22 21:53:31 +03:00
|
|
|
"babel-preset-react": "6.5.0",
|
2016-02-22 17:46:38 +03:00
|
|
|
"babel-preset-stage-2": "6.5.0",
|
2016-03-05 03:08:29 +03:00
|
|
|
"babel-register": "6.6.5",
|
2016-02-25 00:42:06 +03:00
|
|
|
"chai": "3.5.0",
|
2016-03-29 03:25:51 +03:00
|
|
|
"chalk": "1.1.3",
|
2016-03-08 00:21:12 +03:00
|
|
|
"concurrently": "2.0.0",
|
2016-03-29 17:05:12 +03:00
|
|
|
"csp-parse": "0.0.2",
|
2016-03-08 00:21:12 +03:00
|
|
|
"css-loader": "0.23.1",
|
2016-04-01 21:21:38 +03:00
|
|
|
"eslint": "2.6.0",
|
2016-03-23 09:46:31 +03:00
|
|
|
"eslint-config-airbnb": "6.2.0",
|
2016-03-16 00:56:50 +03:00
|
|
|
"eslint-plugin-react": "4.2.3",
|
2016-03-08 00:21:12 +03:00
|
|
|
"json-loader": "0.5.4",
|
2016-03-09 01:04:40 +03:00
|
|
|
"karma": "0.13.22",
|
2016-02-25 00:42:06 +03:00
|
|
|
"karma-chai": "0.1.0",
|
2016-03-07 15:06:03 +03:00
|
|
|
"karma-coverage": "0.5.5",
|
2016-03-01 20:55:20 +03:00
|
|
|
"karma-coveralls": "1.1.2",
|
2016-02-25 00:42:06 +03:00
|
|
|
"karma-firefox-launcher": "0.1.7",
|
|
|
|
"karma-mocha": "0.2.2",
|
2016-03-07 13:55:57 +03:00
|
|
|
"karma-mocha-reporter": "2.0.0",
|
2016-02-25 00:42:06 +03:00
|
|
|
"karma-sinon": "1.0.4",
|
|
|
|
"karma-sourcemap-loader": "0.3.7",
|
|
|
|
"karma-webpack": "1.7.0",
|
|
|
|
"mocha": "2.4.5",
|
2016-03-08 00:21:12 +03:00
|
|
|
"node-sass": "3.4.2",
|
2016-03-29 19:44:28 +03:00
|
|
|
"react-addons-test-utils": "0.14.8",
|
2016-03-29 19:39:33 +03:00
|
|
|
"react-dom": "0.14.8",
|
2016-02-22 21:53:31 +03:00
|
|
|
"react-hot-loader": "1.3.0",
|
2016-03-06 21:08:51 +03:00
|
|
|
"react-transform-hmr": "1.0.4",
|
2016-03-04 23:56:35 +03:00
|
|
|
"redux-devtools": "3.1.1",
|
2016-03-11 19:08:34 +03:00
|
|
|
"rimraf": "2.5.2",
|
2016-03-08 00:21:12 +03:00
|
|
|
"sass-loader": "3.1.2",
|
2016-02-24 15:27:44 +03:00
|
|
|
"semver": "5.1.0",
|
|
|
|
"shelljs": "0.6.0",
|
2016-02-25 00:42:06 +03:00
|
|
|
"sinon": "1.17.3",
|
2016-03-24 22:37:09 +03:00
|
|
|
"style-loader": "0.13.1",
|
2016-03-29 17:05:12 +03:00
|
|
|
"supertest": "1.2.0",
|
|
|
|
"supertest-as-promised": "3.0.0",
|
2016-02-23 21:31:38 +03:00
|
|
|
"webpack": "1.12.14",
|
2016-03-26 17:28:43 +03:00
|
|
|
"webpack-dev-middleware": "1.6.1",
|
2016-02-22 17:46:38 +03:00
|
|
|
"webpack-dev-server": "1.14.1",
|
2016-03-10 10:32:30 +03:00
|
|
|
"webpack-hot-middleware": "2.10.0",
|
2016-03-28 21:33:30 +03:00
|
|
|
"webpack-isomorphic-tools": "2.2.43"
|
2016-02-22 17:40:12 +03:00
|
|
|
}
|
2016-02-22 12:39:48 +03:00
|
|
|
}
|