updated deps & updated node for circleci and docker to 10.x. (8.x should technically still work)
This commit is contained in:
parent
a0edff1ead
commit
e97b8ff42d
|
@ -14,6 +14,8 @@ plugins:
|
|||
root: true
|
||||
|
||||
rules:
|
||||
node/no-deprecated-api: off
|
||||
node/no-unsupported-features/es-syntax: off
|
||||
node/no-unpublished-require: off
|
||||
|
||||
security/detect-non-literal-fs-filename: off
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM node:8-alpine
|
||||
FROM node:10-alpine
|
||||
|
||||
RUN apk add --no-cache git
|
||||
RUN addgroup -S -g 10001 app && adduser -S -D -G app -u 10001 app
|
||||
|
|
|
@ -2,7 +2,7 @@ version: 2.0
|
|||
jobs:
|
||||
build:
|
||||
docker:
|
||||
- image: circleci/node:8
|
||||
- image: circleci/node:10
|
||||
steps:
|
||||
- checkout
|
||||
- restore_cache:
|
||||
|
@ -19,7 +19,7 @@ jobs:
|
|||
- ./dist
|
||||
test:
|
||||
docker:
|
||||
- image: circleci/node:8-browsers
|
||||
- image: circleci/node:10-browsers
|
||||
steps:
|
||||
- checkout
|
||||
- restore_cache:
|
||||
|
@ -29,7 +29,6 @@ jobs:
|
|||
key: send-{{ checksum "package-lock.json" }}
|
||||
paths:
|
||||
- node_modules
|
||||
- run: npm run check
|
||||
- run: npm run lint
|
||||
- run: npm run test
|
||||
- store_artifacts:
|
||||
|
|
File diff suppressed because it is too large
Load Diff
38
package.json
38
package.json
|
@ -10,7 +10,6 @@
|
|||
"scripts": {
|
||||
"precommit": "lint-staged",
|
||||
"prepush": "npm test",
|
||||
"check": "nsp check",
|
||||
"clean": "rimraf dist",
|
||||
"build": "npm run clean && webpack",
|
||||
"lint": "npm-run-all lint:*",
|
||||
|
@ -22,7 +21,6 @@
|
|||
"format": "prettier '**/*.js' 'assets/*.css' --single-quote --write",
|
||||
"get-prod-locales": "node scripts/get-prod-locales",
|
||||
"get-prod-locales:write": "npm run get-prod-locales -- --write",
|
||||
"changelog": "github-changes -o mozilla -r send --only-pulls --use-commit-body --no-merges",
|
||||
"contributors": "git shortlog -s | awk -F\\t '{print $2}' > CONTRIBUTORS",
|
||||
"release": "npm-run-all contributors changelog",
|
||||
"test": "npm-run-all test:*",
|
||||
|
@ -52,12 +50,12 @@
|
|||
"cache": true
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=8.2.0"
|
||||
"node": ">=10.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@dannycoates/webpack-dev-server": "^3.1.4",
|
||||
"@mattiasbuelens/web-streams-polyfill": "0.1.0-alpha.5",
|
||||
"asmcrypto.js": "^0.22.0",
|
||||
"asmcrypto.js": "^2.3.2",
|
||||
"babel-core": "^6.26.3",
|
||||
"babel-loader": "^7.1.4",
|
||||
"babel-plugin-istanbul": "^4.1.6",
|
||||
|
@ -69,13 +67,13 @@
|
|||
"base64-js": "^1.3.0",
|
||||
"content-disposition": "^0.5.2",
|
||||
"copy-webpack-plugin": "^4.5.2",
|
||||
"crc": "^3.7.0",
|
||||
"crc": "^3.8.0",
|
||||
"cross-env": "^5.2.0",
|
||||
"css-loader": "^1.0.0",
|
||||
"css-mqpacker": "^6.0.2",
|
||||
"eslint": "^4.19.1",
|
||||
"eslint-plugin-mocha": "^4.12.1",
|
||||
"eslint-plugin-node": "^6.0.1",
|
||||
"css-mqpacker": "^7.0.0",
|
||||
"eslint": "^5.2.0",
|
||||
"eslint-plugin-mocha": "^5.1.0",
|
||||
"eslint-plugin-node": "^7.0.1",
|
||||
"eslint-plugin-security": "^1.4.0",
|
||||
"expose-loader": "^0.7.5",
|
||||
"extract-loader": "^2.0.1",
|
||||
|
@ -84,7 +82,6 @@
|
|||
"file-loader": "^1.1.11",
|
||||
"fluent-intl-polyfill": "^0.1.0",
|
||||
"git-rev-sync": "^1.12.0",
|
||||
"github-changes": "^1.1.2",
|
||||
"html-loader": "^0.5.5",
|
||||
"http_ece": "^1.0.5",
|
||||
"husky": "^0.14.3",
|
||||
|
@ -93,38 +90,37 @@
|
|||
"nanobus": "^4.3.2",
|
||||
"nanotiming": "^7.3.1",
|
||||
"npm-run-all": "^4.1.3",
|
||||
"nsp": "^3.2.1",
|
||||
"nyc": "^11.9.0",
|
||||
"nyc": "^12.0.2",
|
||||
"postcss-cssnext": "^3.1.0",
|
||||
"postcss-import": "^11.1.0",
|
||||
"postcss-loader": "^2.1.5",
|
||||
"prettier": "^1.13.7",
|
||||
"proxyquire": "^1.8.0",
|
||||
"puppeteer": "^1.6.1",
|
||||
"prettier": "^1.14.0",
|
||||
"proxyquire": "^2.0.1",
|
||||
"puppeteer": "^1.6.2",
|
||||
"raven-js": "^3.26.4",
|
||||
"redis-mock": "^0.21.0",
|
||||
"redis-mock": "^0.29.0",
|
||||
"require-from-string": "^2.0.2",
|
||||
"rimraf": "^2.6.2",
|
||||
"sinon": "^4.5.0",
|
||||
"sinon": "^6.1.4",
|
||||
"string-hash": "^1.1.3",
|
||||
"stylelint": "^9.3.0",
|
||||
"stylelint": "^9.4.0",
|
||||
"stylelint-config-standard": "^18.2.0",
|
||||
"stylelint-no-unsupported-browser-features": "^3.0.1",
|
||||
"svgo": "^1.0.5",
|
||||
"svgo-loader": "^2.1.0",
|
||||
"testpilot-ga": "^0.3.0",
|
||||
"val-loader": "^1.1.1",
|
||||
"webpack": "^4.16.2",
|
||||
"webpack": "^4.16.4",
|
||||
"webpack-cli": "^3.1.0",
|
||||
"webpack-dev-middleware": "^3.1.3",
|
||||
"webpack-manifest-plugin": "^2.0.3",
|
||||
"webpack-unassert-loader": "^1.2.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"aws-sdk": "^2.280.1",
|
||||
"aws-sdk": "^2.285.1",
|
||||
"babel-polyfill": "^6.26.0",
|
||||
"choo": "^6.12.1",
|
||||
"cldr-core": "^32.0.0",
|
||||
"cldr-core": "^33.0.0",
|
||||
"convict": "^4.3.2",
|
||||
"express": "^4.16.3",
|
||||
"express-ws": "^4.0.0",
|
||||
|
|
Loading…
Reference in New Issue