-
Notifications
You must be signed in to change notification settings - Fork 87
/
package.json
147 lines (147 loc) · 4.9 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
{
"name": "netlify-next-runtime",
"private": true,
"description": "Run Next.js seamlessly on Netlify",
"scripts": {
"build:demo": "cd demos/default && npm run build",
"cy:open": "cypress open --config-file=cypress/config/all.config.ts --browser chrome --e2e",
"dev:demo": "next dev demos/default",
"format": "run-s format:check-fix:*",
"format:ci": "run-s format:check:*",
"format:check-fix:lint": "run-e format:check:lint format:fix:lint",
"format:check:lint": "cross-env-shell eslint $npm_package_config_eslint",
"format:fix:lint": "cross-env-shell eslint --fix $npm_package_config_eslint",
"format:check-fix:prettier": "run-e format:check:prettier format:fix:prettier",
"format:check:prettier": "cross-env-shell prettier --check $npm_package_config_prettier",
"format:fix:prettier": "cross-env-shell prettier --write $npm_package_config_prettier",
"build": "npm run build -w packages/next -w packages/runtime",
"postinstall": "run-s build install-husky",
"install-husky": "if-env CI=1 || husky install node_modules/@netlify/eslint-config-node/.husky",
"test": "run-s build:demo test:jest",
"test:deno": "deno test packages/runtime/src/templates/edge-shared/",
"test:next": "jest -c test/e2e/jest.config.js",
"test:next:disabled": "RUN_SKIPPED_TESTS=1 jest -c test/e2e/jest.config.disabled.js",
"test:next:all": "RUN_SKIPPED_TESTS=1 jest -c test/e2e/jest.config.all.js",
"test:next:appdir": "jest -c test/e2e/jest.config.appdir.js",
"test:jest": "jest",
"test:integration": "jest -c test/integration/jest.config.js",
"playwright:install": "playwright install --with-deps chromium",
"test:jest:update": "jest --updateSnapshot",
"test:update": "run-s build build:demo test:jest:update"
},
"config": {
"eslint": "--cache --format=codeframe --max-warnings=0 \"{packages,test,.github}/**/*.{ts,js,md,html}\" \"*.{ts,js,md,html}\" \".*.{ts,js,md,html}\"",
"prettier": "--loglevel=warn \"{packages,test,.github}/**/*.{ts,js,md,yml,json,html}\" \"*.{ts,js,yml,json,html}\" \".*.{ts,js,yml,json,html}\" \"!package-lock.json\""
},
"repository": {
"type": "git",
"url": "git+https://github.com/netlify/next-runtime.git"
},
"keywords": [
"nextjs",
"netlify",
"next",
"netlify-runtime"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/netlify/next-runtime/issues"
},
"homepage": "https://github.com/netlify/next-runtime#readme",
"devDependencies": {
"@babel/core": "^7.15.8",
"@babel/preset-env": "^7.15.8",
"@babel/preset-typescript": "^7.16.0",
"@delucis/if-env": "^1.1.2",
"@netlify/build": "^29.36.3",
"@netlify/eslint-config-node": "^7.0.1",
"@testing-library/cypress": "^9.0.0",
"@types/fs-extra": "^9.0.13",
"@types/jest": "^27.0.2",
"@types/mocha": "^9.0.0",
"@types/node": "^17.0.10",
"@types/react": "^18.0.25",
"babel-jest": "^27.2.5",
"chance": "^1.1.8",
"cheerio": "^1.0.0-rc.12",
"cpy": "^8.1.2",
"cypress": "^12.17.4",
"escape-string-regexp": "^2.0.0",
"eslint-config-next": "^12.0.0",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-unicorn": "^43.0.2",
"execa": "^5.1.1",
"fs-extra": "^11.1.1",
"husky": "^7.0.4",
"jest": "^27.0.0",
"jest-extended": "^3.2.0",
"jest-fetch-mock": "^3.0.3",
"jest-junit": "^14.0.1",
"mock-fs": "^5.2.0",
"netlify-plugin-cypress": "^2.2.1",
"node-fetch": "^2.6.6",
"npm-run-all2": "^5.0.0",
"outdent": "^0.8.0",
"pathe": "^1.1.0",
"playwright-chromium": "1.40.1",
"prettier": "^2.1.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rimraf": "^3.0.2",
"sass": "^1.49.0",
"sharp": "^0.32.0",
"strip-ansi": "^7.1.0",
"tmp-promise": "^3.0.2",
"typescript": "^4.3.4",
"wait-on": "^7.0.1"
},
"dependencies": {
"next": "^13.4.1"
},
"engines": {
"node": ">=16.0.0"
},
"jest": {
"setupFiles": [
"./jestSetup.js"
],
"testMatch": [
"**/test/**/*.spec.js",
"**/test/**/*.spec.ts",
"!**/test/e2e/**",
"!**/test/integration/**",
"!**/test/fixtures/**",
"!**/test/sample/**",
"!**/test/templates/edge-shared/**"
],
"transform": {
"\\.[jt]sx?$": "babel-jest"
},
"verbose": true,
"testTimeout": 60000,
"maxWorkers": 1
},
"jest-junit": {
"outputDirectory": "reports",
"outputName": "jest-junit.xml",
"uniqueOutputName": "true",
"ancestorSeparator": " > ",
"suiteNameTemplate": "{filepath}",
"classNameTemplate": "{classname}",
"titleTemplate": "{title}"
},
"workspaces": [
"packages/*",
"demos/default",
"demos/next-auth",
"demos/static-root",
"demos/next-export",
"demos/base-path",
"demos/plugin-wrapper",
"demos/server-components",
"demos/middleware",
"demos/custom-routes",
"demos/next-with-edge-functions"
]
}