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",
|
2016-04-15 22:29:27 +03:00
|
|
|
"build:disco": "better-npm-run build:disco",
|
|
|
|
"build:search": "better-npm-run build:search",
|
2016-04-28 00:06:27 +03:00
|
|
|
"clean": "rimraf './dist/*+(css|js|map|json)' './webpack-assets.json'",
|
2016-04-14 17:55:00 +03:00
|
|
|
"dev:disco": "better-npm-run dev:disco",
|
|
|
|
"dev:search": "better-npm-run dev:search",
|
2016-03-29 16:20:50 +03:00
|
|
|
"eslint": "npm run lint",
|
|
|
|
"lint": "eslint .",
|
2016-03-29 17:05:12 +03:00
|
|
|
"servertest": "npm run build && better-npm-run servertest",
|
2016-05-05 23:04:05 +03:00
|
|
|
"start": "npm run version-check && NODE_PATH='./:./src' node bin/server.js",
|
|
|
|
"start:disco": "NODE_APP_INSTANCE=disco npm start",
|
|
|
|
"start:search": "NODE_APP_INSTANCE=search npm start",
|
2016-04-28 00:06:27 +03:00
|
|
|
"test": "better-npm-run test",
|
|
|
|
"unittest": "better-npm-run unittest",
|
|
|
|
"unittest:dev": "better-npm-run unittest:dev",
|
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": {
|
2016-04-28 00:06:27 +03:00
|
|
|
"command": "npm run clean && npm run version-check && webpack --verbose --display-error-details --progress --colors --config webpack.prod.config.babel.js",
|
2016-03-29 16:20:50 +03:00
|
|
|
"env": {
|
2016-04-28 00:06:27 +03:00
|
|
|
"NODE_PATH": "./:./src"
|
2016-03-29 16:20:50 +03:00
|
|
|
}
|
|
|
|
},
|
2016-04-15 22:29:27 +03:00
|
|
|
"build:disco": {
|
|
|
|
"command": "npm run build",
|
|
|
|
"env": {
|
2016-04-28 00:06:27 +03:00
|
|
|
"NODE_APP_INSTANCE": "disco"
|
2016-04-15 22:29:27 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"build:search": {
|
|
|
|
"command": "npm run build",
|
|
|
|
"env": {
|
2016-04-28 00:06:27 +03:00
|
|
|
"NODE_APP_INSTANCE": "search"
|
2016-04-15 22:29:27 +03:00
|
|
|
}
|
|
|
|
},
|
2016-03-29 16:20:50 +03:00
|
|
|
"dev:disco": {
|
2016-04-22 19:42:57 +03:00
|
|
|
"command": "better-npm-run start-dev",
|
2016-03-29 16:20:50 +03:00
|
|
|
"env": {
|
2016-04-28 00:06:27 +03:00
|
|
|
"NODE_APP_INSTANCE": "disco"
|
2016-03-29 16:20:50 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"dev:search": {
|
2016-04-22 19:42:57 +03:00
|
|
|
"command": "better-npm-run start-dev",
|
2016-03-29 16:20:50 +03:00
|
|
|
"env": {
|
2016-04-28 00:06:27 +03:00
|
|
|
"NODE_APP_INSTANCE": "search"
|
2016-03-29 16:20:50 +03:00
|
|
|
}
|
|
|
|
},
|
2016-04-22 19:42:57 +03:00
|
|
|
"start-dev": {
|
|
|
|
"command": "npm run clean && concurrently --kill-others 'npm run webpack-dev-server' 'node bin/server.js'",
|
|
|
|
"env": {
|
2016-04-28 00:06:27 +03:00
|
|
|
"ENABLE_PIPING": "true",
|
2016-04-22 19:42:57 +03:00
|
|
|
"NODE_ENV": "development",
|
2016-04-28 00:06:27 +03:00
|
|
|
"NODE_PATH": "./:./src"
|
2016-04-22 19:42:57 +03:00
|
|
|
}
|
|
|
|
},
|
2016-03-29 17:05:12 +03:00
|
|
|
"servertest": {
|
2016-05-11 13:22:33 +03:00
|
|
|
"command": "mocha --compilers js:babel-register --timeout 3000 tests/server/",
|
2016-03-29 17:05:12 +03:00
|
|
|
"env": {
|
2016-04-28 00:06:27 +03:00
|
|
|
"NODE_PATH": "./:./src",
|
|
|
|
"NODE_ENV": "production"
|
2016-03-29 17:05:12 +03:00
|
|
|
}
|
|
|
|
},
|
2016-04-28 00:06:27 +03:00
|
|
|
"test": {
|
|
|
|
"command": "npm run version-check && npm run unittest && npm run servertest && npm run lint",
|
|
|
|
"env": {
|
|
|
|
"NODE_PATH": "./:./src",
|
|
|
|
"NODE_ENV": "production"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"unittest": {
|
|
|
|
"command": "karma start --single-run",
|
|
|
|
"env": {
|
|
|
|
"NODE_PATH": "./:./src",
|
|
|
|
"NODE_ENV": "production"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"unittest:dev": {
|
|
|
|
"command": "karma start",
|
|
|
|
"env": {
|
|
|
|
"NODE_PATH": "./:./src",
|
|
|
|
"NODE_ENV": "production"
|
2016-04-15 22:29:27 +03:00
|
|
|
}
|
|
|
|
},
|
2016-03-29 16:20:50 +03:00
|
|
|
"webpack-dev-server": {
|
|
|
|
"command": "node bin/webpack-dev-server.js",
|
|
|
|
"env": {
|
|
|
|
"NODE_ENV": "development",
|
2016-04-28 00:06:27 +03:00
|
|
|
"NODE_PATH": "./:./src"
|
2016-03-29 16:20:50 +03:00
|
|
|
}
|
|
|
|
}
|
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-05-05 23:04:05 +03:00
|
|
|
"bunyan": "1.8.1",
|
2016-05-06 14:26:04 +03:00
|
|
|
"camelcase": "3.0.0",
|
2016-05-05 13:47:38 +03:00
|
|
|
"classnames": "2.2.5",
|
2016-05-12 15:21:34 +03:00
|
|
|
"common-tags": "0.1.0",
|
2016-04-28 00:06:27 +03:00
|
|
|
"config": "1.20.1",
|
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-05-03 12:16:23 +03:00
|
|
|
"helmet": "2.0.0",
|
2016-03-09 02:02:08 +03:00
|
|
|
"isomorphic-fetch": "2.2.1",
|
2016-04-12 19:59:00 +03:00
|
|
|
"normalize.css": "4.1.1",
|
2016-05-12 01:53:33 +03:00
|
|
|
"normalizr": "2.0.2",
|
2016-05-03 13:58:00 +03:00
|
|
|
"piping": "0.3.1",
|
2016-05-03 12:16:51 +03:00
|
|
|
"react": "15.0.2",
|
2016-04-19 07:53:35 +03:00
|
|
|
"react-cookie": "0.4.5",
|
2016-05-03 18:29:10 +03:00
|
|
|
"react-helmet": "3.1.0",
|
2016-04-14 19:21:07 +03:00
|
|
|
"react-redux": "4.4.5",
|
2016-04-28 20:17:36 +03:00
|
|
|
"react-router": "2.4.0",
|
2016-04-25 13:38:55 +03:00
|
|
|
"redux": "3.5.2",
|
2016-03-22 01:11:54 +03:00
|
|
|
"redux-async-connect": "1.0.0-rc4",
|
|
|
|
"redux-logger": "2.6.1",
|
2016-05-04 18:26:26 +03:00
|
|
|
"serialize-javascript": "1.2.0",
|
2016-05-10 17:10:00 +03:00
|
|
|
"url": "0.11.0",
|
|
|
|
"url-loader": "0.5.7"
|
2016-02-22 17:46:38 +03:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2016-03-08 00:21:12 +03:00
|
|
|
"autoprefixer-loader": "3.2.0",
|
2016-05-03 18:13:58 +03:00
|
|
|
"babel-core": "6.8.0",
|
2016-04-26 11:01:50 +03:00
|
|
|
"babel-eslint": "6.0.4",
|
2016-04-21 22:02:42 +03:00
|
|
|
"babel-istanbul": "0.8.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-05-03 13:59:33 +03:00
|
|
|
"babel-plugin-transform-class-properties": "6.8.0",
|
2016-02-25 19:35:30 +03:00
|
|
|
"babel-plugin-transform-decorators-legacy": "1.3.4",
|
2016-05-03 18:14:06 +03:00
|
|
|
"babel-plugin-transform-object-rest-spread": "6.8.0",
|
2016-05-03 18:13:43 +03:00
|
|
|
"babel-polyfill": "6.8.0",
|
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-05-03 13:59:33 +03:00
|
|
|
"babel-register": "6.8.0",
|
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-04-25 23:07:36 +03:00
|
|
|
"cheerio": "0.20.0",
|
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-29 20:31:10 +03:00
|
|
|
"eslint": "2.9.0",
|
2016-05-12 01:54:39 +03:00
|
|
|
"eslint-config-airbnb": "9.0.1",
|
2016-05-12 01:53:57 +03:00
|
|
|
"eslint-plugin-import": "1.8.0",
|
2016-05-06 23:53:07 +03:00
|
|
|
"eslint-plugin-jsx-a11y": "1.2.0",
|
2016-05-11 13:14:41 +03:00
|
|
|
"eslint-plugin-react": "5.1.1",
|
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-05-04 05:31:15 +03:00
|
|
|
"karma-coverage": "1.0.0",
|
2016-03-01 20:55:20 +03:00
|
|
|
"karma-coveralls": "1.1.2",
|
2016-05-04 06:08:54 +03:00
|
|
|
"karma-firefox-launcher": "1.0.0",
|
2016-05-03 13:58:29 +03:00
|
|
|
"karma-mocha": "1.0.1",
|
2016-05-06 14:30:27 +03:00
|
|
|
"karma-mocha-reporter": "2.0.3",
|
2016-05-04 23:47:41 +03:00
|
|
|
"karma-sinon": "1.0.5",
|
2016-02-25 00:42:06 +03:00
|
|
|
"karma-sourcemap-loader": "0.3.7",
|
|
|
|
"karma-webpack": "1.7.0",
|
|
|
|
"mocha": "2.4.5",
|
2016-05-03 18:14:28 +03:00
|
|
|
"node-sass": "3.7.0",
|
2016-05-03 12:16:55 +03:00
|
|
|
"react-addons-test-utils": "15.0.2",
|
2016-05-03 13:57:39 +03:00
|
|
|
"react-dom": "15.0.2",
|
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-05-12 01:54:24 +03:00
|
|
|
"redux-devtools": "3.3.1",
|
2016-04-28 00:06:27 +03:00
|
|
|
"require-uncached": "1.0.2",
|
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",
|
2016-04-26 00:44:39 +03:00
|
|
|
"shelljs": "0.7.0",
|
2016-05-03 13:58:29 +03:00
|
|
|
"sinon": "1.17.4",
|
2016-04-25 23:07:36 +03:00
|
|
|
"sri-stats-webpack-plugin": "0.7.2",
|
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-04-15 16:30:21 +03:00
|
|
|
"webpack": "1.13.0",
|
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-05-03 13:59:05 +03:00
|
|
|
"webpack-isomorphic-tools": "2.2.50"
|
2016-02-22 17:40:12 +03:00
|
|
|
}
|
2016-02-22 12:39:48 +03:00
|
|
|
}
|