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 ,
2017-07-12 23:22:01 +03:00
"engines" : {
2017-10-01 00:59:07 +03:00
"node" : ">=6 <=8"
2017-07-12 23:22:01 +03:00
} ,
2016-02-22 12:39:48 +03:00
"scripts" : {
2016-07-05 22:30:46 +03:00
"build" : "bin/build-checks.js && better-npm-run build" ,
2017-03-22 14:23:54 +03:00
"build-locales" : "bin/build-locales" ,
2016-05-30 20:51:36 +03:00
"extract-locales" : "better-npm-run extract-locales" ,
2017-03-22 14:23:54 +03:00
"clean" : "rimraf './dist/*!(.gitkeep)' './webpack-assets.json' './src/locale/**(!.gitkeep)'" ,
2017-07-19 19:53:45 +03:00
"amo" : "better-npm-run amo" ,
"amo:dev" : "better-npm-run amo:dev" ,
"amo:no-proxy" : "better-npm-run amo:no-proxy" ,
"amo:stage" : "better-npm-run amo:stage" ,
2017-08-15 15:38:21 +03:00
"nsp-check" : "nsp check" ,
2017-07-19 19:53:45 +03:00
"disco" : "better-npm-run disco" ,
2016-06-23 16:12:15 +03:00
"eslint" : "eslint ." ,
2017-06-01 22:56:37 +03:00
"flow" : "flow" ,
2017-04-17 21:37:35 +03:00
"flow:check" : "flow check" ,
2017-06-13 18:18:02 +03:00
"flow:dev" : "flow stop; flow start; chokidar .flowconfig flow/ src/ tests/ -i flow/logs/flow.log -c 'flow status' --initial" ,
2016-06-23 16:12:15 +03:00
"stylelint" : "stylelint --syntax scss **/*.scss" ,
2016-07-05 23:52:01 +03:00
"lint" : "npm run eslint && npm run stylelint" ,
2018-06-27 18:51:33 +03:00
"prettier" : "prettier --write '**'" ,
2018-07-03 17:49:44 +03:00
"prettier-ci" : "npm run prettier -- --list-different || (echo '\n\nThis failure means you did not run `yarn prettier-dev` before committing\n\n' && exit 1)" ,
"prettier-dev" : "pretty-quick --branch master" ,
2017-08-18 13:55:56 +03:00
"start" : "npm run version-check && better-npm-run node bin/server.js" ,
"start-func-test-server" : "better-npm-run node bin/start-func-test-server.js" ,
2017-08-31 21:43:29 +03:00
"test-ci" : "bin/config-check.js && better-npm-run test-ci && codecov" ,
2017-08-18 13:55:56 +03:00
"test" : "bin/config-check.js && better-npm-run jest --watch" ,
"test-coverage" : "bin/config-check.js && better-npm-run jest --coverage --watch" ,
"test-coverage-once" : "bin/config-check.js && better-npm-run jest --coverage" ,
"test-once" : "bin/config-check.js && better-npm-run jest && npm run lint" ,
"version-check" : "bin/version-check.js" ,
2018-01-25 06:35:09 +03:00
"webpack-dev-server" : "npm run build-locales && better-npm-run webpack-dev-server" ,
"snyk-protect" : "snyk protect"
2016-03-29 16:20:50 +03:00
} ,
"betterScripts" : {
"build" : {
2017-03-22 14:23:54 +03:00
"command" : "npm run clean && npm run version-check && npm run build-locales && webpack --bail --verbose --display-error-details --progress --colors --config webpack.prod.config.babel.js" ,
2016-03-29 16:20:50 +03:00
"env" : {
2017-08-18 13:55:56 +03:00
"NODE_ICU_DATA" : "./node_modules/full-icu" ,
2016-04-28 00:06:27 +03:00
"NODE_PATH" : "./:./src"
2016-03-29 16:20:50 +03:00
}
} ,
2017-07-19 19:53:45 +03:00
"amo" : {
2017-02-17 19:08:14 +03:00
"command" : "better-npm-run start-dev-proxy" ,
2016-03-29 16:20:50 +03:00
"env" : {
2016-08-24 15:17:09 +03:00
"NODE_APP_INSTANCE" : "amo"
2016-03-29 16:20:50 +03:00
}
} ,
2017-07-19 19:53:45 +03:00
"amo:dev" : {
2017-08-21 22:02:55 +03:00
"command" : "better-npm-run start-dev-proxy" ,
2017-07-17 23:09:50 +03:00
"env" : {
2017-08-28 21:51:33 +03:00
"AMO_CDN" : "https://addons-dev-cdn.allizom.org" ,
2017-08-21 22:02:55 +03:00
"PROXY_API_HOST" : "https://addons-dev.allizom.org" ,
"FXA_CONFIG" : "local" ,
2017-07-17 23:09:50 +03:00
"CSP" : false ,
"NODE_APP_INSTANCE" : "amo"
}
} ,
2017-07-19 19:53:45 +03:00
"amo:no-proxy" : {
2017-02-17 19:08:14 +03:00
"command" : "better-npm-run start-dev" ,
"env" : {
"NODE_APP_INSTANCE" : "amo" ,
"PROXY_ENABLED" : "false"
}
} ,
2017-07-19 19:53:45 +03:00
"amo:stage" : {
2017-08-21 22:02:55 +03:00
"command" : "better-npm-run start-dev-proxy" ,
2017-07-17 23:09:50 +03:00
"env" : {
"AMO_CDN" : "https://addons-stage-cdn.allizom.org" ,
2017-08-21 22:02:55 +03:00
"PROXY_API_HOST" : "https://addons.allizom.org" ,
"FXA_CONFIG" : "local" ,
2017-07-17 23:09:50 +03:00
"CSP" : false ,
"NODE_APP_INSTANCE" : "amo"
}
} ,
2017-07-19 19:53:45 +03:00
"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-08-24 15:17:09 +03:00
"NODE_APP_INSTANCE" : "disco"
2016-03-29 16:20:50 +03:00
}
} ,
2016-05-30 20:51:36 +03:00
"extract-locales" : {
2017-01-19 03:01:14 +03:00
"command" : "webpack --verbose --bail --display-error-details --progress --colors --config webpack.l10n.config.babel.js" ,
2016-05-20 01:33:30 +03:00
"env" : {
2017-08-18 13:55:56 +03:00
"NODE_ENV" : "production" ,
"NODE_ICU_DATA" : "./node_modules/full-icu" ,
"NODE_PATH" : "./:./src"
2016-05-20 01:33:30 +03:00
}
} ,
2016-04-22 19:42:57 +03:00
"start-dev" : {
2016-12-22 23:18:55 +03:00
"command" : "npm run clean && concurrently --kill-others 'npm run webpack-dev-server' 'node bin/server.js | bunyan'" ,
2016-04-22 19:42:57 +03:00
"env" : {
2016-04-28 00:06:27 +03:00
"ENABLE_PIPING" : "true" ,
2016-04-22 19:42:57 +03:00
"NODE_ENV" : "development" ,
2017-08-18 13:55:56 +03:00
"NODE_ICU_DATA" : "./node_modules/full-icu" ,
2016-04-28 00:06:27 +03:00
"NODE_PATH" : "./:./src"
2016-04-22 19:42:57 +03:00
}
} ,
2017-02-17 19:08:14 +03:00
"start-dev-proxy" : {
"command" : "npm run clean && concurrently --kill-others 'npm run webpack-dev-server' 'node bin/server.js | bunyan' 'node bin/proxy.js | bunyan'" ,
"env" : {
"ENABLE_PIPING" : "true" ,
"NODE_ENV" : "development" ,
2017-08-18 13:55:56 +03:00
"NODE_ICU_DATA" : "./node_modules/full-icu" ,
2017-02-17 19:08:14 +03:00
"NODE_PATH" : "./:./src" ,
"SERVER_PORT" : "3333"
}
} ,
2017-08-18 13:55:56 +03:00
"node" : {
"command" : "node" ,
"env" : {
"NODE_ICU_DATA" : "./node_modules/full-icu" ,
"NODE_PATH" : "./:./src"
}
} ,
"jest" : {
"command" : "jest" ,
"env" : {
"NODE_ICU_DATA" : "./node_modules/full-icu"
}
} ,
2017-05-19 20:54:22 +03:00
"test-ci" : {
2017-10-20 19:52:24 +03:00
"command" : "npm run version-check && npm run flow:check && bin/config-check.js && better-npm-run jest --color=false --coverage" ,
2016-08-31 17:58:32 +03:00
"env" : {
2017-08-18 13:55:56 +03:00
"NODE_ICU_DATA" : "./node_modules/full-icu" ,
2016-08-31 17:58:32 +03:00
"NODE_PATH" : "./:./src" ,
"NODE_ENV" : "test"
}
} ,
2016-03-29 16:20:50 +03:00
"webpack-dev-server" : {
"command" : "node bin/webpack-dev-server.js" ,
"env" : {
"NODE_ENV" : "development" ,
2017-08-18 13:55:56 +03:00
"NODE_ICU_DATA" : "./node_modules/full-icu" ,
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" : {
2017-08-17 04:13:34 +03:00
"babel-polyfill" : "6.26.0" ,
2018-05-04 01:22:43 +03:00
"base62" : "1.2.8" ,
2018-05-15 23:49:01 +03:00
"base64url" : "3.0.0" ,
2017-07-31 17:30:29 +03:00
"better-npm-run" : "0.1.0" ,
2017-08-09 21:05:28 +03:00
"bunyan" : "1.8.12" ,
2018-06-08 13:06:54 +03:00
"classnames" : "2.2.6" ,
2018-05-28 17:57:15 +03:00
"common-tags" : "1.8.0" ,
2018-02-27 02:18:09 +03:00
"config" : "1.30.0" ,
2017-09-07 13:17:35 +03:00
"deep-eql" : "3.0.1" ,
2018-04-17 15:02:54 +03:00
"deepcopy" : "0.6.3" ,
2017-08-25 17:22:55 +03:00
"dompurify" : "1.0.2" ,
2018-01-02 23:22:08 +03:00
"es6-error" : "4.1.0" ,
2017-11-08 19:41:30 +03:00
"express" : "4.16.2" ,
2017-10-26 16:56:22 +03:00
"extract-text-webpack-plugin" : "3.0.2" ,
2017-03-22 19:04:39 +03:00
"fastclick" : "1.0.6" ,
2018-02-20 02:44:27 +03:00
"full-icu" : "1.2.1" ,
2018-05-17 10:32:33 +03:00
"helmet" : "3.12.1" ,
2018-07-09 14:59:05 +03:00
"hot-shots" : "5.7.0" ,
2018-02-26 20:43:58 +03:00
"html-entities" : "1.2.1" ,
2017-07-03 18:55:39 +03:00
"humps" : "2.0.1" ,
2018-03-13 23:00:38 +03:00
"invariant" : "2.2.4" ,
2016-03-09 02:02:08 +03:00
"isomorphic-fetch" : "2.2.1" ,
2016-07-22 10:52:24 +03:00
"jed" : "1.1.1" ,
2017-06-05 19:38:32 +03:00
"join-url" : "2.0.0" ,
2018-05-24 12:03:12 +03:00
"jsdom" : "11.11.0" ,
2017-10-30 18:23:47 +03:00
"knuth-shuffle" : "1.0.8" ,
2018-06-18 18:15:07 +03:00
"localforage" : "1.7.2" ,
2017-09-07 16:23:03 +03:00
"lodash.debounce" : "4.0.8" ,
2018-06-04 13:08:32 +03:00
"moment" : "2.22.2" ,
2017-03-13 19:07:49 +03:00
"mozilla-version-comparator" : "1.0.2" ,
2018-02-09 03:04:06 +03:00
"normalize.css" : "8.0.0" ,
2017-02-23 19:09:32 +03:00
"normalizr" : "3.2.2" ,
2018-06-19 20:06:14 +03:00
"prop-types" : "15.6.2" ,
2017-11-23 16:52:10 +03:00
"raf" : "3.4.0" ,
2018-06-20 13:31:52 +03:00
"raven" : "2.6.3" ,
2018-06-20 18:44:53 +03:00
"raven-js" : "3.26.3" ,
2018-04-12 09:57:59 +03:00
"rc-tooltip" : "3.7.2" ,
2018-06-19 20:21:12 +03:00
"react" : "16.4.1" ,
2018-02-18 04:59:43 +03:00
"react-autosuggest" : "9.3.4" ,
2017-03-21 04:58:40 +03:00
"react-cookie" : "1.0.5" ,
2018-06-19 20:21:12 +03:00
"react-dom" : "16.4.1" ,
2017-08-30 17:04:44 +03:00
"react-helmet" : "5.2.0" ,
2017-11-23 16:52:10 +03:00
"react-nested-status" : "0.2.1" ,
2018-01-17 21:57:47 +03:00
"react-onclickoutside" : "6.7.1" ,
2017-06-14 23:29:30 +03:00
"react-photoswipe" : "1.3.0" ,
2018-02-17 01:11:24 +03:00
"react-redux" : "5.0.7" ,
2017-11-23 16:52:10 +03:00
"react-router" : "3.2.0" ,
2017-11-24 23:28:05 +03:00
"react-router-redux" : "4.0.8" ,
2017-11-08 14:09:22 +03:00
"react-router-scroll" : "0.4.4" ,
2018-06-05 20:39:10 +03:00
"react-super-responsive-table" : "4.2.4" ,
2018-07-16 18:53:32 +03:00
"react-textarea-autosize" : "7.0.3" ,
2018-04-03 15:13:41 +03:00
"react-transition-group" : "1.2.0" ,
2017-07-13 03:17:37 +03:00
"redux" : "3.7.2" ,
2017-05-17 18:33:59 +03:00
"redux-logger" : "3.0.6" ,
2017-10-17 13:51:08 +03:00
"redux-saga" : "0.16.0" ,
2017-11-27 19:03:40 +03:00
"response-time" : "2.3.2" ,
2018-04-18 12:37:16 +03:00
"serialize-javascript" : "1.5.0" ,
2018-05-04 23:53:22 +03:00
"ua-parser-js" : "0.7.18" ,
2016-05-10 17:10:00 +03:00
"url" : "0.11.0" ,
2018-03-03 11:18:25 +03:00
"url-loader" : "1.0.1" ,
2017-12-04 06:25:52 +03:00
"utf8" : "3.0.0" ,
2018-06-04 13:09:35 +03:00
"webpack-isomorphic-tools" : "3.0.6"
2016-02-22 17:46:38 +03:00
} ,
"devDependencies" : {
2018-02-12 03:25:37 +03:00
"autoprefixer" : "^8.0.0" ,
2017-05-03 18:43:01 +03:00
"babel-core" : "^6.24.1" ,
2018-01-19 14:57:37 +03:00
"babel-eslint" : "^8.2.1" ,
2017-03-17 14:16:50 +03:00
"babel-gettext-extractor" : "git+https://github.com/muffinresearch/babel-gettext-extractor.git#0d39d3882bc846e7dcb6c9ff6463896c96920ce6" ,
2018-05-24 23:18:34 +03:00
"babel-jest" : "^23.0.0" ,
2017-05-18 00:07:06 +03:00
"babel-loader" : "^7.0.0" ,
2017-09-12 21:11:08 +03:00
"babel-plugin-react-transform" : "^3.0.0" ,
2017-05-03 18:43:01 +03:00
"babel-plugin-transform-class-properties" : "^6.24.1" ,
"babel-plugin-transform-decorators-legacy" : "^1.3.4" ,
"babel-plugin-transform-flow-strip-types" : "^6.22.0" ,
"babel-plugin-transform-object-rest-spread" : "^6.20.2" ,
"babel-preset-es2015" : "^6.24.1" ,
"babel-preset-react" : "^6.24.1" ,
"babel-preset-stage-2" : "^6.24.1" ,
"babel-register" : "^6.24.1" ,
"bundle-loader" : "^0.5.5" ,
2017-07-03 18:46:58 +03:00
"chalk" : "^2.0.1" ,
2017-08-31 13:31:01 +03:00
"cheerio" : "^1.0.0-rc.2" ,
2017-05-03 18:43:01 +03:00
"chokidar-cli" : "^1.2.0" ,
2017-10-12 00:58:48 +03:00
"circular-dependency-plugin" : "^4.2.1" ,
2017-10-23 12:32:50 +03:00
"codecov" : "^3.0.0" ,
2017-05-03 18:43:01 +03:00
"concurrently" : "^3.4.0" ,
2017-05-25 17:43:19 +03:00
"content-security-policy-parser" : "^0.1.0" ,
2017-05-03 18:43:01 +03:00
"cookie" : "^0.3.1" ,
2017-05-26 23:04:06 +03:00
"css-loader" : "^0.28.3" ,
2017-11-23 16:52:10 +03:00
"enzyme" : "^3.2.0" ,
"enzyme-adapter-react-16" : "^1.1.0" ,
2018-01-19 14:57:37 +03:00
"eslint" : "^4.15.0" ,
2018-03-14 17:31:28 +03:00
"eslint-config-amo" : "^1.7.0" ,
2018-06-27 18:00:54 +03:00
"eslint-plugin-amo" : "^1.0.1" ,
2017-05-16 00:32:26 +03:00
"eslint-plugin-promise" : "^3.5.0" ,
2018-03-02 02:15:50 +03:00
"file-loader" : "^1.1.11" ,
2018-07-09 14:26:15 +03:00
"flow-bin" : "^0.76.0" ,
2017-05-03 18:43:01 +03:00
"glob" : "^7.1.1" ,
"http-proxy" : "^1.16.2" ,
2017-05-25 17:43:19 +03:00
"intl" : "^1.2.5" ,
"intl-locales-supported" : "^1.0.0" ,
2018-06-18 14:48:29 +03:00
"jest" : "^23.1.0" ,
2018-03-13 16:14:17 +03:00
"jest-enzyme" : "^6.0.0" ,
2018-07-09 14:24:44 +03:00
"jest-watch-typeahead" : "^0.2.0" ,
2017-05-03 18:43:01 +03:00
"json-loader" : "^0.5.4" ,
2017-05-25 17:43:19 +03:00
"mock-express-request" : "^0.2.0" ,
"mock-express-response" : "^0.2.0" ,
2017-05-03 18:43:01 +03:00
"node-sass" : "^4.5.2" ,
2018-02-26 18:21:09 +03:00
"nsp" : "^3.0.0" ,
2017-05-25 21:13:22 +03:00
"object.values" : "^1.0.4" ,
2018-03-08 03:41:00 +03:00
"photon-colors" : "^3.0.1" ,
2017-05-03 18:43:01 +03:00
"piping" : "^1.0.0-rc.4" ,
"po2json" : "^0.4.5" ,
2018-07-10 18:21:46 +03:00
"postcss-loader" : "2.1.6" ,
2018-01-19 14:57:37 +03:00
"potools" : "^0.2.0" ,
2018-07-02 22:18:43 +03:00
"prettier" : "1.13.7" ,
2018-07-03 17:49:44 +03:00
"pretty-quick" : "1.6.0" ,
2018-02-27 13:20:38 +03:00
"react-hot-loader" : "^4.0.0" ,
2018-06-19 20:21:12 +03:00
"react-test-renderer" : "^16.4.1" ,
2017-05-03 18:43:01 +03:00
"react-transform-hmr" : "^1.0.4" ,
2017-11-23 16:52:10 +03:00
"redux-devtools" : "^3.4.1" ,
2017-10-13 16:47:47 +03:00
"redux-saga-tester" : "^1.0.372" ,
2017-05-03 18:43:01 +03:00
"require-uncached" : "^1.0.3" ,
"rimraf" : "^2.6.1" ,
2018-04-16 19:37:40 +03:00
"sass-loader" : "^7.0.1" ,
2017-05-03 18:43:01 +03:00
"semver" : "^5.3.0" ,
2018-01-12 11:28:42 +03:00
"shelljs" : "^0.8.0" ,
2018-06-19 00:43:57 +03:00
"sinon" : "^6.0.0" ,
2018-02-16 23:02:43 +03:00
"snyk" : "^1.69.7" ,
2018-04-19 21:49:58 +03:00
"style-loader" : "^0.21.0" ,
2018-02-22 01:44:58 +03:00
"stylelint" : "^9.1.1" ,
2018-03-01 17:27:19 +03:00
"stylelint-config-standard" : "^18.2.0" ,
2018-02-25 11:31:43 +03:00
"stylelint-config-suitcss" : "^14.0.0" ,
2017-07-17 22:11:14 +03:00
"supertest" : "^3.0.0" ,
2017-05-03 18:43:01 +03:00
"svg-url-loader" : "^2.0.2" ,
2017-08-12 13:43:54 +03:00
"tmp" : "^0.0.33" ,
2017-05-03 18:43:01 +03:00
"tosource" : "^1.0.0" ,
2017-07-07 02:11:57 +03:00
"webpack" : "^3.1.0" ,
2017-05-03 18:43:01 +03:00
"webpack-dev-middleware" : "^1.10.2" ,
2018-03-10 01:27:50 +03:00
"webpack-dev-server" : "^3.1.1" ,
2017-05-18 00:07:06 +03:00
"webpack-hot-middleware" : "^2.18.0" ,
"webpack-subresource-integrity" : "^1.0.0-rc.1"
2017-08-09 22:10:21 +03:00
} ,
2018-01-25 06:35:09 +03:00
"snyk" : true
2016-02-22 12:39:48 +03:00
}