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",
|
2019-07-10 16:45:38 +02:00
|
|
|
"dev2": "while true; do yarn --check-files && yarn dev; done",
|
2018-10-12 15:32:17 +02:00
|
|
|
"testonly": "jest",
|
2019-06-28 15:09:27 +02:00
|
|
|
"testall": "yarn check && yarn run testonly -- --ci --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",
|
2019-05-29 01:06:13 +02:00
|
|
|
"lint": "lerna run typescript && standard && standard --parser typescript-eslint-parser --plugin typescript \"packages/**/*.ts\"",
|
|
|
|
"lint-fix": "standard --fix && standard --fix --parser typescript-eslint-parser --plugin typescript \"packages/**/*.ts\"",
|
2019-05-30 03:19:32 +02:00
|
|
|
"prettier": "prettier --write \"**/*.{js,jsx,json,ts,tsx,md,mdx,css,html,yml,yaml,scss,sass}\" && yarn lint-fix",
|
2019-07-11 02:59:53 +02:00
|
|
|
"types": "lerna run types --stream",
|
2018-12-05 21:45:50 +01:00
|
|
|
"typescript": "lerna run typescript",
|
2019-04-24 22:43:04 +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",
|
2019-04-24 22:43:04 +02:00
|
|
|
"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
|
|
|
"*.js": [
|
2019-05-29 13:57:26 +02:00
|
|
|
"prettier --write",
|
2018-12-17 17:34:32 +01:00
|
|
|
"standard --fix",
|
|
|
|
"git add"
|
|
|
|
],
|
2019-05-30 02:53:35 +02:00
|
|
|
"*.tsx": [
|
|
|
|
"prettier --write",
|
|
|
|
"git add"
|
|
|
|
],
|
|
|
|
"*.ts": [
|
2019-05-29 13:57:26 +02:00
|
|
|
"prettier --write",
|
2018-12-17 17:34:32 +01:00
|
|
|
"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": {
|
2019-05-23 09:52:36 +02:00
|
|
|
"@babel/plugin-proposal-object-rest-spread": "7.4.4",
|
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-05-23 09:52:36 +02:00
|
|
|
"@types/jest": "24.0.13",
|
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-05-23 09:52:36 +02:00
|
|
|
"abort-controller": "3.0.0",
|
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",
|
2019-05-23 09:52:36 +02:00
|
|
|
"babel-eslint": "10.0.1",
|
|
|
|
"babel-jest": "24.8.0",
|
2019-05-06 15:16:21 +02:00
|
|
|
"browserstack-local": "1.4.0",
|
2017-02-16 23:53:39 +01:00
|
|
|
"cheerio": "0.22.0",
|
2019-03-08 10:23:57 +01:00
|
|
|
"chromedriver": "2.46.0",
|
2019-05-23 09:52:36 +02:00
|
|
|
"clone": "2.1.2",
|
|
|
|
"coveralls": "3.0.3",
|
2019-02-26 21:57:32 +01:00
|
|
|
"cross-spawn": "6.0.5",
|
2019-05-23 09:52:36 +02:00
|
|
|
"eslint": "5.16.0",
|
2018-12-03 14:18:52 +01:00
|
|
|
"eslint-plugin-typescript": "0.14.0",
|
2019-05-23 09:52:36 +02:00
|
|
|
"express": "4.17.0",
|
2019-05-23 18:53:28 +02:00
|
|
|
"fs-extra": "7.0.1",
|
2019-05-23 09:52:36 +02:00
|
|
|
"get-port": "5.0.0",
|
2018-12-04 10:59:12 +01:00
|
|
|
"isomorphic-unfetch": "3.0.0",
|
2019-05-23 09:52:36 +02:00
|
|
|
"jest-cli": "24.8.0",
|
|
|
|
"jest-junit": "6.4.0",
|
|
|
|
"lerna": "3.14.1",
|
|
|
|
"lint-staged": "8.1.7",
|
2018-01-31 08:35:10 +01:00
|
|
|
"mkdirp": "0.5.1",
|
2019-05-23 09:52:36 +02:00
|
|
|
"node-fetch": "2.6.0",
|
|
|
|
"node-notifier": "5.4.0",
|
|
|
|
"node-sass": "4.12.0",
|
2018-10-10 11:58:44 +02:00
|
|
|
"pre-commit": "1.2.2",
|
2019-05-23 09:52:36 +02:00
|
|
|
"prettier": "1.17.1",
|
2019-04-05 12:32:00 +02:00
|
|
|
"react": "16.8.6",
|
|
|
|
"react-dom": "16.8.6",
|
2019-05-29 15:19:21 +02:00
|
|
|
"react-ssr-prepass": "1.0.5",
|
2019-05-23 09:52:36 +02:00
|
|
|
"release": "6.0.1",
|
|
|
|
"request-promise-core": "1.1.2",
|
|
|
|
"rimraf": "2.6.3",
|
2019-02-19 22:45:07 +01:00
|
|
|
"standard": "12.0.1",
|
2017-09-27 20:11:02 +02:00
|
|
|
"taskr": "1.1.0",
|
2019-05-09 04:51:23 +02:00
|
|
|
"tree-kill": "1.2.1",
|
2019-05-31 13:36:59 +02:00
|
|
|
"typescript": "3.5.1",
|
2019-05-23 09:52:36 +02:00
|
|
|
"typescript-eslint-parser": "22.0.0",
|
2018-10-12 15:32:17 +02:00
|
|
|
"wait-port": "0.2.2",
|
2019-05-23 09:52:36 +02:00
|
|
|
"wd": "1.11.2",
|
2019-05-22 02:12:25 +02:00
|
|
|
"webpack-bundle-analyzer": "3.3.2"
|
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
|
|
|
}
|