2016-10-05 23:52:50 +00:00
|
|
|
{
|
2018-09-30 23:02:10 +00:00
|
|
|
"name": "nextjs-project",
|
|
|
|
"private": true,
|
|
|
|
"workspaces": [
|
|
|
|
"packages/*"
|
2016-10-05 23:52:50 +00:00
|
|
|
],
|
|
|
|
"scripts": {
|
2018-09-30 23:02:10 +00:00
|
|
|
"lerna": "lerna",
|
|
|
|
"bootstrap": "lerna bootstrap",
|
2018-10-06 05:32:50 +00:00
|
|
|
"dev": "lerna run build --stream --parallel",
|
2018-10-12 13:32:17 +00:00
|
|
|
"testonly": "jest",
|
2018-11-22 09:12:12 +00:00
|
|
|
"testall": "npm run testonly -- --coverage --forceExit --runInBand --reporters=default --reporters=jest-junit",
|
2018-09-30 23:02:10 +00:00
|
|
|
"pretest": "npm run lint",
|
2018-10-12 13:32:17 +00:00
|
|
|
"test": "npm run testall || npm run testall",
|
2018-10-12 12:38:35 +00:00
|
|
|
"coveralls": "cat ./test/coverage/lcov.info | coveralls",
|
2018-12-05 20:45:50 +00:00
|
|
|
"lint": "lerna run typescript && standard && standard --parser typescript-eslint-parser --plugin typescript packages/**/*.ts",
|
2018-12-10 21:05:53 +00:00
|
|
|
"lint-fix": "standard --fix && standard --fix --parser typescript-eslint-parser --plugin typescript packages/**/*.ts",
|
2018-12-17 16:34:32 +00:00
|
|
|
"prettier": "prettier --single-quote --no-semi --write examples/**/*.js && yarn lint-fix",
|
2018-12-05 20:45:50 +00:00
|
|
|
"typescript": "lerna run typescript",
|
2018-10-10 09:58:44 +00:00
|
|
|
"prepublish": "lerna run prepublish",
|
2019-01-21 15:24:39 +00:00
|
|
|
"publish-canary": "lerna version prerelease --preid canary --force-publish && release --pre",
|
2018-10-10 09:58:44 +00:00
|
|
|
"lint-staged": "lint-staged"
|
2016-10-05 23:52:50 +00:00
|
|
|
},
|
2018-10-10 09:58:44 +00:00
|
|
|
"pre-commit": "lint-staged",
|
2018-09-30 23:02:10 +00:00
|
|
|
"lint-staged": {
|
2018-12-17 16:34:32 +00:00
|
|
|
"examples/**/*.js": [
|
|
|
|
"prettier --write --single-quote --no-semi",
|
|
|
|
"standard --fix",
|
|
|
|
"git add"
|
|
|
|
],
|
|
|
|
"*.js": [
|
|
|
|
"standard --fix",
|
|
|
|
"git add"
|
|
|
|
],
|
2019-01-26 21:44:44 +00:00
|
|
|
"*.{ts,tsx}": [
|
|
|
|
"tslint -c tslint.json --fix",
|
2018-12-17 16:34:32 +00:00
|
|
|
"git add"
|
|
|
|
],
|
|
|
|
"packages/**/bin/*": [
|
|
|
|
"standard --fix",
|
|
|
|
"git add"
|
|
|
|
]
|
2018-08-28 10:44:15 +00:00
|
|
|
},
|
2016-10-25 18:47:03 +00:00
|
|
|
"standard": {
|
2016-12-21 01:13:11 +00:00
|
|
|
"parser": "babel-eslint",
|
|
|
|
"ignore": [
|
2018-12-31 13:44:27 +00:00
|
|
|
"packages/**/*.ts",
|
2018-12-05 20:45:50 +00:00
|
|
|
"**/*.d.ts",
|
2017-08-27 20:13:35 +00:00
|
|
|
"**/node_modules/**",
|
2019-02-10 03:55:09 +00:00
|
|
|
"packages/next/build/webpack/plugins/terser-webpack-plugin/**",
|
2018-10-20 15:00:01 +00:00
|
|
|
"examples/with-ioc/**",
|
|
|
|
"examples/with-kea/**",
|
|
|
|
"examples/with-mobx/**"
|
2016-12-21 01:13:11 +00:00
|
|
|
]
|
2016-10-25 18:47:03 +00:00
|
|
|
},
|
2018-09-30 23:02:10 +00:00
|
|
|
"devDependencies": {
|
2018-08-28 10:44:15 +00:00
|
|
|
"@babel/plugin-proposal-object-rest-spread": "7.0.0",
|
2018-11-21 15:04:37 +00:00
|
|
|
"@babel/preset-flow": "7.0.0",
|
2018-08-28 10:44:15 +00:00
|
|
|
"@babel/preset-react": "7.0.0",
|
2018-11-20 14:54:28 +00:00
|
|
|
"@zeit/next-css": "1.0.2-canary.2",
|
|
|
|
"@zeit/next-sass": "1.0.2-canary.2",
|
|
|
|
"@zeit/next-typescript": "1.1.2-canary.0",
|
2018-09-30 23:02:10 +00:00
|
|
|
"babel-core": "7.0.0-bridge.0",
|
2018-08-28 10:44:15 +00:00
|
|
|
"babel-eslint": "9.0.0",
|
2018-10-07 13:04:43 +00:00
|
|
|
"babel-jest": "23.6.0",
|
2017-02-16 22:53:39 +00:00
|
|
|
"cheerio": "0.22.0",
|
2018-09-25 23:04:15 +00:00
|
|
|
"chromedriver": "2.42.0",
|
2018-02-02 14:43:36 +00:00
|
|
|
"clone": "2.1.1",
|
2018-10-12 12:38:35 +00:00
|
|
|
"coveralls": "3.0.2",
|
2018-12-03 13:18:52 +00:00
|
|
|
"eslint-plugin-typescript": "0.14.0",
|
2018-08-31 08:42:11 +00:00
|
|
|
"express": "4.16.3",
|
2017-09-27 18:11:02 +00:00
|
|
|
"fkill": "5.1.0",
|
2018-02-02 14:43:36 +00:00
|
|
|
"get-port": "3.2.0",
|
2018-12-04 09:59:12 +00:00
|
|
|
"isomorphic-unfetch": "3.0.0",
|
2018-10-07 13:04:43 +00:00
|
|
|
"jest-cli": "23.6.0",
|
2018-11-28 14:03:02 +00:00
|
|
|
"jest-junit": "^5.0.0",
|
2018-09-30 23:02:10 +00:00
|
|
|
"lerna": "^3.4.0",
|
2017-09-27 18:11:02 +00:00
|
|
|
"lint-staged": "4.2.3",
|
2018-01-31 07:35:10 +00:00
|
|
|
"mkdirp": "0.5.1",
|
2017-09-27 18:11:02 +00:00
|
|
|
"node-fetch": "1.7.3",
|
2017-03-16 12:49:15 +00:00
|
|
|
"node-notifier": "5.1.2",
|
2018-07-30 13:48:02 +00:00
|
|
|
"node-sass": "4.9.2",
|
2018-10-10 09:58:44 +00:00
|
|
|
"pre-commit": "1.2.2",
|
2018-12-17 16:34:32 +00:00
|
|
|
"prettier": "1.15.3",
|
2018-12-11 21:10:55 +00:00
|
|
|
"react": "16.6.3",
|
|
|
|
"react-dom": "16.6.3",
|
2019-01-21 15:24:39 +00:00
|
|
|
"release": "5.0.3",
|
2018-01-31 07:35:10 +00:00
|
|
|
"rimraf": "2.6.2",
|
2018-03-27 18:11:03 +00:00
|
|
|
"standard": "11.0.1",
|
2017-09-27 18:11:02 +00:00
|
|
|
"taskr": "1.1.0",
|
2018-12-31 13:44:27 +00:00
|
|
|
"tslint": "5.12.0",
|
|
|
|
"typescript": "3.1.1",
|
2018-12-03 13:18:52 +00:00
|
|
|
"typescript-eslint-parser": "21.0.1",
|
2018-10-12 13:32:17 +00:00
|
|
|
"wait-port": "0.2.2",
|
2018-11-28 14:03:02 +00:00
|
|
|
"wd": "1.10.3",
|
|
|
|
"webpack-bundle-analyzer": "3.0.3"
|
2018-11-03 16:42:43 +00:00
|
|
|
},
|
|
|
|
"engines": {
|
|
|
|
"node": ">= 8.0.0"
|
2016-10-10 04:18:56 +00:00
|
|
|
}
|
2016-10-05 23:52:50 +00:00
|
|
|
}
|