addons-frontend/package.json

297 строки
9.5 KiB
JSON
Исходник Обычный вид История

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,
"engines": {
"node": ">=6 <=8"
},
2016-02-22 12:39:48 +03:00
"scripts": {
"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)'",
"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",
"bundlesize": "bundlesize",
2017-08-15 15:38:21 +03:00
"nsp-check": "nsp check",
"disco": "better-npm-run disco",
2016-06-23 16:12:15 +03:00
"eslint": "eslint .",
"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",
"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",
"test-ci": "bin/config-check.js && better-npm-run test-ci && codecov",
"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",
2017-03-22 14:23:54 +03:00
"webpack-dev-server": "npm run build-locales && better-npm-run webpack-dev-server"
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": {
"NODE_ICU_DATA": "./node_modules/full-icu",
"NODE_PATH": "./:./src"
2016-03-29 16:20:50 +03:00
}
},
"amo": {
"command": "better-npm-run start-dev-proxy",
2016-03-29 16:20:50 +03:00
"env": {
"NODE_APP_INSTANCE": "amo"
2016-03-29 16:20:50 +03:00
}
},
"amo:dev": {
"command": "better-npm-run start-dev-proxy",
"env": {
"AMO_CDN": "https://addons-dev-cdn.allizom.org",
"PROXY_API_HOST": "https://addons-dev.allizom.org",
"FXA_CONFIG": "local",
"CSP": false,
"NODE_APP_INSTANCE": "amo"
}
},
"amo:no-proxy": {
"command": "better-npm-run start-dev",
"env": {
"NODE_APP_INSTANCE": "amo",
"PROXY_ENABLED": "false"
}
},
"amo:stage": {
"command": "better-npm-run start-dev-proxy",
"env": {
"AMO_CDN": "https://addons-stage-cdn.allizom.org",
"PROXY_API_HOST": "https://addons.allizom.org",
"FXA_CONFIG": "local",
"CSP": false,
"NODE_APP_INSTANCE": "amo"
}
},
"disco": {
2016-04-22 19:42:57 +03:00
"command": "better-npm-run start-dev",
2016-03-29 16:20:50 +03:00
"env": {
"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": {
"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": {
"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": {
"ENABLE_PIPING": "true",
2016-04-22 19:42:57 +03:00
"NODE_ENV": "development",
"NODE_ICU_DATA": "./node_modules/full-icu",
"NODE_PATH": "./:./src"
2016-04-22 19:42:57 +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",
"NODE_ICU_DATA": "./node_modules/full-icu",
"NODE_PATH": "./:./src",
"SERVER_PORT": "3333"
}
},
"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",
"env": {
"NODE_ICU_DATA": "./node_modules/full-icu",
"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",
"NODE_ICU_DATA": "./node_modules/full-icu",
"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": {
"babel-polyfill": "6.26.0",
"base62": "1.2.1",
"base64url": "2.0.0",
"better-npm-run": "0.1.0",
"bunyan": "1.8.12",
2016-05-05 13:47:38 +03:00
"classnames": "2.2.5",
"common-tags": "1.5.1",
"config": "1.28.1",
"deep-eql": "3.0.1",
"dompurify": "1.0.2",
"es6-error": "4.0.2",
"express": "4.16.2",
"extract-text-webpack-plugin": "3.0.2",
2017-03-22 19:04:39 +03:00
"fastclick": "1.0.6",
"full-icu": "1.2.0",
"helmet": "3.9.0",
"humps": "2.0.1",
"isomorphic-fetch": "2.2.1",
"jed": "1.1.1",
2017-06-05 19:38:32 +03:00
"join-url": "2.0.0",
"jsdom": "11.4.0",
"knuth-shuffle": "1.0.8",
"localforage": "1.5.3",
"lodash.debounce": "4.0.8",
"moment": "2.19.2",
"mozilla-version-comparator": "1.0.2",
"normalize.css": "7.0.0",
"normalizr": "3.2.2",
"prop-types": "15.6.0",
"raven": "2.2.1",
"raven-js": "3.20.1",
"rc-tooltip": "3.7.0",
"react": "15.6.2",
"react-addons-css-transition-group": "15.6.2",
"react-autosuggest": "9.3.2",
"react-cookie": "1.0.5",
"react-dom": "15.6.2",
"react-helmet": "5.2.0",
"react-nested-status": "0.1.2",
"react-onclickoutside": "6.7.0",
"react-photoswipe": "1.3.0",
"react-redux": "5.0.6",
"react-router": "2.8.1",
"react-router-redux": "4.0.8",
"react-router-scroll": "0.4.4",
"react-super-responsive-table": "0.3.0",
"react-textarea-autosize": "5.2.1",
"redux": "3.7.2",
"redux-logger": "3.0.6",
"redux-saga": "0.16.0",
"serialize-javascript": "1.4.0",
"stylefmt": "6.0.0",
"ua-parser-js": "0.7.17",
2016-05-10 17:10:00 +03:00
"url": "0.11.0",
"url-loader": "0.6.2",
2017-02-28 01:36:32 +03:00
"utf8": "2.1.2",
"webpack-isomorphic-tools": "3.0.3"
2016-02-22 17:46:38 +03:00
},
"devDependencies": {
"autoprefixer": "^7.1.2",
"babel-core": "^6.24.1",
"babel-eslint": "^8.0.0",
2017-03-17 14:16:50 +03:00
"babel-gettext-extractor": "git+https://github.com/muffinresearch/babel-gettext-extractor.git#0d39d3882bc846e7dcb6c9ff6463896c96920ce6",
2017-09-09 01:58:16 +03:00
"babel-jest": "^21.0.2",
2017-05-18 00:07:06 +03:00
"babel-loader": "^7.0.0",
"babel-plugin-react-transform": "^2.0.2",
"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",
"bundlesize": "^0.15.1",
"chalk": "^2.0.1",
"cheerio": "^1.0.0-rc.2",
"chokidar-cli": "^1.2.0",
"circular-dependency-plugin": "^4.2.1",
"codecov": "^3.0.0",
"concurrently": "^3.4.0",
2017-05-25 17:43:19 +03:00
"content-security-policy-parser": "^0.1.0",
"cookie": "^0.3.1",
"css-loader": "^0.28.3",
"deepcopy": "^0.6.3",
2017-06-08 00:08:49 +03:00
"enzyme": "^2.8.2",
"eslint": "^4.5.0",
"eslint-config-amo": "^0.2.0",
"eslint-plugin-promise": "^3.5.0",
2017-10-18 23:12:58 +03:00
"eslint-plugin-react": "^7.4.0",
"fetch-mock": "^5.10.0",
"file-loader": "^0.11.1",
"flow-bin": "^0.59.0",
"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",
2017-09-09 01:58:16 +03:00
"jest": "^21.0.2",
"jest-enzyme": "^3.8.3",
"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",
"node-sass": "^4.5.2",
2017-08-15 15:38:21 +03:00
"nsp": "^2.7.0",
2017-05-25 21:13:22 +03:00
"object.values": "^1.0.4",
"photon-colors": "^1.0.3",
"piping": "^1.0.0-rc.4",
"po2json": "^0.4.5",
"postcss-loader": "^2.0.6",
"potools": "^0.1.0",
"react-addons-test-utils": "^15.5.1",
"react-hot-loader": "^3.1.1",
2017-06-08 00:08:49 +03:00
"react-test-renderer": "^15.5.4",
"react-transform-hmr": "^1.0.4",
"redux-devtools": "^3.3.2",
"redux-saga-tester": "^1.0.372",
"require-uncached": "^1.0.3",
"rimraf": "^2.6.1",
"sass-loader": "^6.0.3",
"semver": "^5.3.0",
"shelljs": "^0.7.7",
"sinon": "^4.0.0",
"style-loader": "^0.19.0",
"stylelint": "^8.0.0",
"stylelint-config-standard": "^17.0.0",
"stylelint-config-suitcss": "^12.0.0",
"supertest": "^3.0.0",
"svg-url-loader": "^2.0.2",
"tmp": "^0.0.33",
"tosource": "^1.0.0",
"webpack": "^3.1.0",
"webpack-dev-middleware": "^1.10.2",
"webpack-dev-server": "^2.4.5",
2017-05-18 00:07:06 +03:00
"webpack-hot-middleware": "^2.18.0",
"webpack-subresource-integrity": "^1.0.0-rc.1"
},
"bundlesize": [
{
"path": "./dist/*.js",
"threshold": "300 Kb"
}
]
2016-02-22 12:39:48 +03:00
}