package.json 4.7 KB
Newer Older
N
nkzawa 已提交
1
{
T
Tim Neutkens 已提交
2 3 4 5
  "name": "nextjs-project",
  "private": true,
  "workspaces": [
    "packages/*"
N
nkzawa 已提交
6 7
  ],
  "scripts": {
T
Tim Neutkens 已提交
8
    "lerna": "lerna",
9
    "dev": "lerna run build --stream --parallel",
J
Joe Haddad 已提交
10
    "dev2": "while true; do yarn --check-files && yarn dev; done",
J
JJ Kasper 已提交
11
    "testonly": "jest --runInBand",
12 13 14 15
    "testheadless": "cross-env HEADLESS=true yarn testonly",
    "testsafari": "cross-env BROWSER_NAME=safari yarn testonly",
    "testfirefox": "cross-env BROWSER_NAME=firefox yarn testonly",
    "testie": "cross-env BROWSER_NAME=\"internet explorer\" yarn testonly",
16
    "testall": "yarn run testonly -- --ci --forceExit",
17
    "genstats": "cross-env LOCAL_STATS=true node .github/actions/next-stats-action/src/index.js",
18
    "pretest": "yarn run lint",
19 20 21
    "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",
22
    "test": "yarn run testall || yarn run test-take2",
J
JJ Kasper 已提交
23 24 25
    "lint-typescript": "lerna run typescript",
    "lint-eslint": "eslint . --ext js,jsx,ts,tsx --max-warnings=0",
    "lint": "run-p lint-typescript prettier-check lint-eslint",
J
Joe Haddad 已提交
26
    "lint-fix": "yarn prettier-fix && eslint . --ext js,jsx,ts,tsx --fix --max-warnings=0",
J
Joe Haddad 已提交
27 28
    "prettier-check": "prettier --check \"**/*.{js,mjs,cjs,jsx,json,ts,tsx,md,mdx,css,html,yml,yaml,scss,less,graphql,graphqls,gql}\"",
    "prettier-fix": "prettier --write \"**/*.{js,mjs,cjs,jsx,json,ts,tsx,md,mdx,css,html,yml,yaml,scss,less,graphql,graphqls,gql}\"",
29
    "types": "lerna run types --stream",
T
Tim Neutkens 已提交
30
    "typescript": "lerna run typescript",
J
JJ Kasper 已提交
31
    "prepublish": "lerna run prepublish",
C
Connor Davis 已提交
32
    "publish-canary": "lerna version prerelease --preid canary --force-publish && release --pre",
33
    "publish-stable": "lerna version --force-publish",
J
Justin Chase 已提交
34
    "lint-staged": "lint-staged",
35 36
    "next": "node packages/next/dist/bin/next",
    "debug": "node --inspect-brk packages/next/dist/bin/next"
N
nkzawa 已提交
37
  },
H
Henrik Wenz 已提交
38
  "pre-commit": "lint-staged",
T
Tim Neutkens 已提交
39
  "devDependencies": {
J
Joe Haddad 已提交
40 41 42
    "@babel/plugin-proposal-object-rest-spread": "7.9.6",
    "@babel/preset-flow": "7.9.0",
    "@babel/preset-react": "7.9.4",
43
    "@fullhuman/postcss-purgecss": "1.3.0",
44
    "@mdx-js/loader": "0.18.0",
J
Joe Haddad 已提交
45
    "@types/cheerio": "0.22.16",
46
    "@types/fs-extra": "8.1.0",
47
    "@types/http-proxy": "1.17.3",
J
Joe Haddad 已提交
48
    "@types/jest": "24.0.13",
T
Tim Neutkens 已提交
49
    "@types/string-hash": "1.1.1",
50 51
    "@typescript-eslint/eslint-plugin": "2.17.0",
    "@typescript-eslint/parser": "2.17.0",
52 53 54
    "@zeit/next-css": "1.0.2-canary.2",
    "@zeit/next-sass": "1.0.2-canary.2",
    "@zeit/next-typescript": "1.1.2-canary.0",
J
Joe Haddad 已提交
55
    "abort-controller": "3.0.0",
56
    "amphtml-validator": "1.0.30",
J
JJ Kasper 已提交
57
    "async-sema": "3.0.1",
T
Tim Neutkens 已提交
58
    "babel-core": "7.0.0-bridge.0",
59
    "babel-eslint": "10.0.3",
J
Joe Haddad 已提交
60
    "babel-jest": "24.9.0",
61
    "browserslist": "^4.8.3",
62
    "browserstack-local": "1.4.0",
63
    "caniuse-lite": "^1.0.30001019",
L
Leo Lamprecht 已提交
64
    "cheerio": "0.22.0",
J
Joe Haddad 已提交
65
    "clone": "2.1.2",
J
Joe Haddad 已提交
66
    "cookie": "0.4.1",
67
    "cors": "2.8.5",
J
Joe Haddad 已提交
68
    "coveralls": "3.0.3",
69
    "cross-env": "6.0.3",
C
Connor Davis 已提交
70
    "cross-spawn": "6.0.5",
J
Joe Haddad 已提交
71
    "escape-string-regexp": "2.0.0",
72
    "eslint": "6.8.0",
73
    "eslint-plugin-import": "2.20.2",
J
Jan Potoms 已提交
74
    "eslint-plugin-jest": "23.13.1",
75 76
    "eslint-plugin-react": "7.18.0",
    "eslint-plugin-react-hooks": "2.3.0",
J
Joe Haddad 已提交
77
    "execa": "2.0.3",
J
Joe Haddad 已提交
78
    "express": "4.17.0",
79
    "faunadb": "2.6.1",
80
    "firebase": "6.3.4",
81
    "fs-extra": "9.0.0",
J
Joe Haddad 已提交
82
    "get-port": "5.1.1",
83 84
    "glob": "7.1.6",
    "gzip-size": "5.1.1",
85
    "isomorphic-unfetch": "3.0.0",
86
    "jest-circus": "26.0.1",
J
Joe Haddad 已提交
87
    "jest-cli": "24.9.0",
88 89
    "ky": "0.19.1",
    "ky-universal": "0.6.0",
J
Joe Haddad 已提交
90
    "lerna": "3.14.1",
M
matamatanot 已提交
91
    "lint-staged": "10.1.7",
92
    "lost": "8.3.1",
93
    "minimatch": "3.0.4",
94
    "moment": "^2.24.0",
J
Joe Haddad 已提交
95
    "node-fetch": "2.6.0",
96
    "node-notifier": "5.4.0",
J
Joe Haddad 已提交
97
    "node-sass": "4.12.0",
J
JJ Kasper 已提交
98
    "npm-run-all": "4.1.5",
J
Joe Haddad 已提交
99
    "nprogress": "0.2.0",
100
    "pixrem": "5.0.0",
101
    "postcss-nested": "4.2.1",
102
    "postcss-pseudoelements": "5.0.0",
J
Joe Haddad 已提交
103 104
    "postcss-short-size": "4.0.0",
    "postcss-trolling": "0.1.7",
H
Henrik Wenz 已提交
105
    "pre-commit": "1.2.2",
J
Joe Haddad 已提交
106
    "prettier": "2.0.5",
107 108
    "pretty-bytes": "5.3.0",
    "pretty-ms": "7.0.0",
J
Joe Haddad 已提交
109 110
    "react": "16.12.0",
    "react-dom": "16.12.0",
T
Tim Neutkens 已提交
111
    "react-ssr-prepass": "1.0.8",
J
Joe Haddad 已提交
112 113 114
    "release": "6.0.1",
    "request-promise-core": "1.1.2",
    "rimraf": "2.6.3",
115 116
    "selenium-standalone": "6.17.0",
    "selenium-webdriver": "4.0.0-alpha.5",
J
Joe Haddad 已提交
117
    "shell-quote": "1.7.2",
118
    "styled-components": "5.1.0",
119
    "styled-jsx-plugin-postcss": "2.0.1",
J
Joe Haddad 已提交
120
    "tailwindcss": "1.1.3",
T
Tim Neutkens 已提交
121
    "taskr": "1.1.0",
122
    "tree-kill": "1.2.1",
123
    "typescript": "3.8.3",
H
Henrik Wenz 已提交
124
    "wait-port": "0.2.2",
125
    "webpack-bundle-analyzer": "3.6.1"
126
  },
J
JJ Kasper 已提交
127
  "resolutions": {
J
Joe Haddad 已提交
128 129
    "browserslist": "^4.8.3",
    "caniuse-lite": "^1.0.30001019"
J
JJ Kasper 已提交
130
  },
131
  "engines": {
132
    "node": ">= 10.13.0"
N
nkzawa 已提交
133
  }
N
nkzawa 已提交
134
}