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:
William O'Beirne 2017-07-18 20:41:17 -04:00 committed by Daniel Ternyak
parent 0b72b8ff6a
commit d2ae162e80
5 changed files with 8349 additions and 4 deletions

1
.nvmrc Normal file
View File

@ -0,0 +1 @@
8

View File

@ -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

View File

@ -1,4 +1,4 @@
FROM node:7.7.2
FROM node:8.1.4
WORKDIR /usr/app

8338
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -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"