Enforce node / npm versions, add package-lock.json (#57)
* Enforce node / npm versions, add package-lock.json * Have travis respect nvmrc. Add nvmrc.
This commit is contained in:
parent
0b72b8ff6a
commit
d2ae162e80
|
@ -2,9 +2,6 @@ dist: trusty
|
|||
sudo: required
|
||||
language: node_js
|
||||
|
||||
node_js:
|
||||
- 7
|
||||
|
||||
before_install:
|
||||
- export CHROME_BIN=chromium-browser
|
||||
- export DISPLAY=:99.0
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM node:7.7.2
|
||||
FROM node:8.1.4
|
||||
|
||||
WORKDIR /usr/app
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -3,6 +3,10 @@
|
|||
"version": "0.0.1",
|
||||
"main": "common/index.jsx",
|
||||
"description": "MyEtherWallet v4",
|
||||
"engines": {
|
||||
"node": ">= 8.0.0",
|
||||
"npm": ">= 5.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"big.js": "^3.1.3",
|
||||
"ethereum-blockies": "https://github.com/MyEtherWallet/blockies.git",
|
||||
|
@ -44,6 +48,7 @@
|
|||
"babel-preset-react-optimize": "^1.0.1",
|
||||
"babel-preset-stage-0": "^6.22.0",
|
||||
"babel-runtime": "^6.23.0",
|
||||
"check-node-version": "^2.1.0",
|
||||
"copy-webpack-plugin": "^4.0.1",
|
||||
"css-loader": "^0.28.0",
|
||||
"enzyme": "^2.8.0",
|
||||
|
@ -84,9 +89,13 @@
|
|||
"scripts": {
|
||||
"db": "nodemon ./db",
|
||||
"build": "webpack --config webpack_config/webpack.prod.js",
|
||||
"prebuild": "check-node-version --package",
|
||||
"build:demo": "BUILD_GH_PAGES=true webpack --config webpack_config/webpack.prod.js",
|
||||
"prebuild:demo": "check-node-version --package",
|
||||
"test": "jest --config=jest_config/jest.config.json --coverage",
|
||||
"pretest": "check-node-version --package",
|
||||
"dev": "node webpack_config/server.js",
|
||||
"predev": "check-node-version --package",
|
||||
"flow": "flow",
|
||||
"start": "npm run dev",
|
||||
"precommit": "lint-staged"
|
||||
|
|
Loading…
Reference in New Issue