1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00
next.js/package.json
Radovan Šmitala 1aa965226e Add engines to package.json (#5585)
Based on this PR https://github.com/zeit/next.js/pull/5520 there should be `engines` definition in package.json as first warn.

Why i choose Node 8 as minimum? @timneutkens said (https://github.com/zeit/next.js/pull/5520/files#r228330327) that next.js should work on version 7.5 but automated tests in TravisCI are with versions 8 and 10. Version 7 was development branch. I think only production ready should be recommended.
2018-11-03 17:42:43 +01:00

75 lines
1.9 KiB
JSON

{
"name": "nextjs-project",
"private": true,
"workspaces": [
"packages/*"
],
"scripts": {
"lerna": "lerna",
"bootstrap": "lerna bootstrap",
"dev": "lerna run build --stream --parallel",
"testonly": "jest",
"testall": "npm run testonly -- --coverage --forceExit --runInBand",
"pretest": "npm run lint",
"test": "npm run testall || npm run testall",
"coveralls": "cat ./test/coverage/lcov.info | coveralls",
"lint": "standard",
"prepublish": "lerna run prepublish",
"lint-staged": "lint-staged"
},
"pre-commit": "lint-staged",
"lint-staged": {
"*.js": "standard",
"packages/**/bin/*": "standard"
},
"standard": {
"parser": "babel-eslint",
"ignore": [
"**/node_modules/**",
"examples/with-ioc/**",
"examples/with-kea/**",
"examples/with-mobx/**"
]
},
"devDependencies": {
"@babel/plugin-proposal-object-rest-spread": "7.0.0",
"@babel/preset-react": "7.0.0",
"@zeit/next-css": "0.2.1-canary.1",
"@zeit/next-sass": "0.2.1-canary.1",
"@zeit/next-typescript": "1.1.0",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "9.0.0",
"babel-jest": "23.6.0",
"babel-plugin-transform-define": "1.3.0",
"benchmark": "2.1.4",
"cheerio": "0.22.0",
"chromedriver": "2.42.0",
"clone": "2.1.1",
"coveralls": "3.0.2",
"express": "4.16.3",
"fkill": "5.1.0",
"flatten": "1.0.2",
"flow-bin": "0.73.0",
"get-port": "3.2.0",
"jest-cli": "23.6.0",
"lerna": "^3.4.0",
"lint-staged": "4.2.3",
"micro": "9.1.0",
"mkdirp": "0.5.1",
"node-fetch": "1.7.3",
"node-notifier": "5.1.2",
"node-sass": "4.9.2",
"pre-commit": "1.2.2",
"react": "16.4.2",
"react-dom": "16.4.2",
"rimraf": "2.6.2",
"standard": "11.0.1",
"taskr": "1.1.0",
"wait-port": "0.2.2",
"wd": "1.10.3"
},
"engines": {
"node": ">= 8.0.0"
}
}