2016-10-06 01:52:50 +02:00
|
|
|
{
|
2018-10-01 01:02:10 +02:00
|
|
|
"name": "nextjs-project",
|
|
|
|
"private": true,
|
|
|
|
"workspaces": [
|
|
|
|
"packages/*"
|
2016-10-06 01:52:50 +02:00
|
|
|
],
|
|
|
|
"scripts": {
|
2018-10-01 01:02:10 +02:00
|
|
|
"lerna": "lerna",
|
2018-10-06 07:32:50 +02:00
|
|
|
"dev": "lerna run build --stream --parallel",
|
2018-10-12 15:32:17 +02:00
|
|
|
"testonly": "jest",
|
2019-03-20 02:55:43 +01:00
|
|
|
"testall": "yarn check && yarn run testonly -- --ci --coverage --reporters=default --reporters=jest-junit --forceExit --runInBand",
|
2019-02-20 20:24:02 +01:00
|
|
|
"pretest": "yarn run lint",
|
2019-03-17 17:43:03 +01:00
|
|
|
"git-reset": "git reset --hard HEAD",
|
|
|
|
"git-clean": "git clean -d -x -e node_modules -e packages -f",
|
|
|
|
"test-take2": "yarn git-reset && yarn git-clean && yarn testall",
|
2019-03-08 10:23:57 +01:00
|
|
|
"test": "yarn run testall || yarn run test-take2",
|
2018-10-12 14:38:35 +02:00
|
|
|
"coveralls": "cat ./test/coverage/lcov.info | coveralls",
|
2018-12-05 21:45:50 +01:00
|
|
|
"lint": "lerna run typescript && standard && standard --parser typescript-eslint-parser --plugin typescript packages/**/*.ts",
|
2018-12-10 22:05:53 +01:00
|
|
|
"lint-fix": "standard --fix && standard --fix --parser typescript-eslint-parser --plugin typescript packages/**/*.ts",
|
2018-12-17 17:34:32 +01:00
|
|
|
"prettier": "prettier --single-quote --no-semi --write examples/**/*.js && yarn lint-fix",
|
2018-12-05 21:45:50 +01:00
|
|
|
"typescript": "lerna run typescript",
|
2018-10-10 11:58:44 +02:00
|
|
|
"prepublish": "lerna run prepublish",
|
2019-01-21 16:24:39 +01:00
|
|
|
"publish-canary": "lerna version prerelease --preid canary --force-publish && release --pre",
|
2019-02-11 08:44:28 +01:00
|
|
|
"publish-stable": "lerna version --force-publish",
|
2019-04-09 17:52:03 +02:00
|
|
|
"lint-staged": "lint-staged",
|
|
|
|
"next": "./packages/next/dist/bin/next"
|
2016-10-06 01:52:50 +02:00
|
|
|
},
|
2018-10-10 11:58:44 +02:00
|
|
|
"pre-commit": "lint-staged",
|
2018-10-01 01:02:10 +02:00
|
|
|
"lint-staged": {
|
2018-12-17 17:34:32 +01:00
|
|
|
"examples/**/*.js": [
|
|
|
|
"prettier --write --single-quote --no-semi",
|
|
|
|
"standard --fix",
|
|
|
|
"git add"
|
|
|
|
],
|
|
|
|
"*.js": [
|
|
|
|
"standard --fix",
|
|
|
|
"git add"
|
|
|
|
],
|
2019-01-26 22:44:44 +01:00
|
|
|
"*.{ts,tsx}": [
|
|
|
|
"tslint -c tslint.json --fix",
|
2018-12-17 17:34:32 +01:00
|
|
|
"git add"
|
|
|
|
],
|
|
|
|
"packages/**/bin/*": [
|
|
|
|
"standard --fix",
|
|
|
|
"git add"
|
|
|
|
]
|
2018-08-28 12:44:15 +02:00
|
|
|
},
|
2016-10-25 20:47:03 +02:00
|
|
|
"standard": {
|
2016-12-21 02:13:11 +01:00
|
|
|
"parser": "babel-eslint",
|
|
|
|
"ignore": [
|
2018-12-31 14:44:27 +01:00
|
|
|
"packages/**/*.ts",
|
2018-12-05 21:45:50 +01:00
|
|
|
"**/*.d.ts",
|
2017-08-27 22:13:35 +02:00
|
|
|
"**/node_modules/**",
|
2019-02-10 04:55:09 +01:00
|
|
|
"packages/next/build/webpack/plugins/terser-webpack-plugin/**",
|
2018-10-20 17:00:01 +02:00
|
|
|
"examples/with-ioc/**",
|
|
|
|
"examples/with-kea/**",
|
2019-03-13 19:39:05 +01:00
|
|
|
"examples/with-mobx/**",
|
2019-03-20 11:01:32 +01:00
|
|
|
"test/integration/client-navigation/pages/throw-undefined.js"
|
2016-12-21 02:13:11 +01:00
|
|
|
]
|
2016-10-25 20:47:03 +02:00
|
|
|
},
|
2018-10-01 01:02:10 +02:00
|
|
|
"devDependencies": {
|
2018-08-28 12:44:15 +02:00
|
|
|
"@babel/plugin-proposal-object-rest-spread": "7.0.0",
|
2018-11-21 16:04:37 +01:00
|
|
|
"@babel/preset-flow": "7.0.0",
|
2018-08-28 12:44:15 +02:00
|
|
|
"@babel/preset-react": "7.0.0",
|
2019-03-04 18:02:45 +01:00
|
|
|
"@mdx-js/loader": "0.18.0",
|
2019-04-02 16:09:34 +02:00
|
|
|
"@types/string-hash": "1.1.1",
|
2018-11-20 15:54:28 +01: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",
|
2019-02-19 21:58:47 +01:00
|
|
|
"abort-controller": "2.0.2",
|
2019-02-14 16:22:57 +01:00
|
|
|
"amphtml-validator": "1.0.23",
|
2018-10-01 01:02:10 +02:00
|
|
|
"babel-core": "7.0.0-bridge.0",
|
2018-08-28 12:44:15 +02:00
|
|
|
"babel-eslint": "9.0.0",
|
2018-10-07 15:04:43 +02:00
|
|
|
"babel-jest": "23.6.0",
|
2019-03-29 16:05:53 +01:00
|
|
|
"browserstack-local": "1.3.7",
|
2017-02-16 23:53:39 +01:00
|
|
|
"cheerio": "0.22.0",
|
2019-03-08 10:23:57 +01:00
|
|
|
"chromedriver": "2.46.0",
|
2018-02-02 15:43:36 +01:00
|
|
|
"clone": "2.1.1",
|
2018-10-12 14:38:35 +02:00
|
|
|
"coveralls": "3.0.2",
|
2019-02-26 21:57:32 +01:00
|
|
|
"cross-spawn": "6.0.5",
|
2019-02-19 22:45:07 +01:00
|
|
|
"eslint": "5.4.0",
|
2018-12-03 14:18:52 +01:00
|
|
|
"eslint-plugin-typescript": "0.14.0",
|
2018-08-31 10:42:11 +02:00
|
|
|
"express": "4.16.3",
|
2017-09-27 20:11:02 +02:00
|
|
|
"fkill": "5.1.0",
|
2018-02-02 15:43:36 +01:00
|
|
|
"get-port": "3.2.0",
|
2018-12-04 10:59:12 +01:00
|
|
|
"isomorphic-unfetch": "3.0.0",
|
2018-10-07 15:04:43 +02:00
|
|
|
"jest-cli": "23.6.0",
|
2019-03-20 11:01:32 +01:00
|
|
|
"jest-junit": "6.3.0",
|
2018-10-01 01:02:10 +02:00
|
|
|
"lerna": "^3.4.0",
|
2017-09-27 20:11:02 +02:00
|
|
|
"lint-staged": "4.2.3",
|
2018-01-31 08:35:10 +01:00
|
|
|
"mkdirp": "0.5.1",
|
2019-02-19 21:58:47 +01:00
|
|
|
"node-fetch": "2.3.0",
|
2017-03-16 13:49:15 +01:00
|
|
|
"node-notifier": "5.1.2",
|
2018-07-30 15:48:02 +02:00
|
|
|
"node-sass": "4.9.2",
|
2018-10-10 11:58:44 +02:00
|
|
|
"pre-commit": "1.2.2",
|
2018-12-17 17:34:32 +01:00
|
|
|
"prettier": "1.15.3",
|
2019-04-05 12:32:00 +02:00
|
|
|
"react": "16.8.6",
|
|
|
|
"react-dom": "16.8.6",
|
2019-01-21 16:24:39 +01:00
|
|
|
"release": "5.0.3",
|
2019-02-11 23:26:42 +01:00
|
|
|
"request-promise-core": "1.1.1",
|
2018-01-31 08:35:10 +01:00
|
|
|
"rimraf": "2.6.2",
|
2019-02-19 22:45:07 +01:00
|
|
|
"standard": "12.0.1",
|
2017-09-27 20:11:02 +02:00
|
|
|
"taskr": "1.1.0",
|
2018-12-31 14:44:27 +01:00
|
|
|
"tslint": "5.12.0",
|
|
|
|
"typescript": "3.1.1",
|
2018-12-03 14:18:52 +01:00
|
|
|
"typescript-eslint-parser": "21.0.1",
|
2018-10-12 15:32:17 +02:00
|
|
|
"wait-port": "0.2.2",
|
2018-11-28 15:03:02 +01:00
|
|
|
"wd": "1.10.3",
|
|
|
|
"webpack-bundle-analyzer": "3.0.3"
|
2018-11-03 17:42:43 +01:00
|
|
|
},
|
|
|
|
"engines": {
|
|
|
|
"node": ">= 8.0.0"
|
2016-10-10 06:18:56 +02:00
|
|
|
}
|
2016-10-06 01:52:50 +02:00
|
|
|
}
|