forked from serverless-nextjs/serverless-next.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
157 lines (157 loc) · 5.45 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
148
149
150
151
152
153
154
155
156
157
{
"name": "serverless-nextjs-monorepo",
"version": "1.8.1",
"description": "Deploy your serverless next applications using the serverless framework",
"main": "index.js",
"directories": {
"example": "examples"
},
"keywords": [
"serverless",
"nextjs",
"lambda",
"next",
"api gateway"
],
"scripts": {
"prepare": "husky install",
"test": "jest --runInBand --coverage",
"packages-install": "lerna exec -- yarn install --frozen-lockfile",
"packages-build": "lerna run build",
"test:watch": "yarn test --watch --collect-coverage=false",
"check-gh-token": ": \"${GH_TOKEN:?Please set GH_TOKEN to a GitHub personal token that can create releases.}\"",
"prerelease": "yarn check-gh-token && lerna publish --conventional-commits --conventional-prerelease --exact --create-release github --dist-tag alpha",
"graduate": "yarn check-gh-token && lerna version --conventional-commits --conventional-graduate --exact --create-release github && lerna publish from-git",
"lint": "eslint .",
"integration": "jest --runInBand --config jest.integration.config.json --setupTestFrameworkScriptFile=./jest.integration.setup.js",
"postinstall": "yarn packages-install && opencollective-postinstall",
"docs": "cd documentation && yarn && yarn build",
"handlers:upload-handler-sizes": "ts-node scripts/upload-handler-sizes.ts",
"handlers:comment-handler-sizes": "ts-node scripts/comment-handler-sizes.ts"
},
"repository": {
"type": "git",
"url": "https://github.com/serverless-nextjs/serverless-next.js"
},
"author": "Daniel Conde Marin <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/serverless-nextjs/serverless-next.js/issues"
},
"homepage": "https://github.com/serverless-nextjs/serverless-next.js#readme",
"devDependencies": {
"@babel/core": "7.15.8",
"@babel/plugin-proposal-class-properties": "^7.13.0",
"@babel/preset-env": "^7.15.8",
"@babel/preset-typescript": "^7.15.0",
"@sls-next/lambda-at-edge": "link:./packages/libs/lambda-at-edge",
"@sls-next/next-aws-cloudfront": "link:./packages/compat-layers/lambda-at-edge-compat",
"@types/fs-extra": "^9.0.13",
"@types/jest": "^27.0.2",
"@types/lodash": "^4.14.175",
"@types/node": "^16.11.1",
"@types/node-fetch": "^2.5.10",
"@types/webpack": "^5.28.0",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"aws-sdk": "^2.1011.0",
"eslint": "^7.3.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-promise": "5.1.0",
"husky": "^7.0.2",
"jest": "^27.3.1",
"lerna": "^4.0.0",
"lint-staged": "^11.2.0",
"next": "^11.1.2",
"prettier": "^2.4.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"serverless": "^2.63.0",
"ts-node": "^10.3.0",
"typescript": "^4.4.4"
},
"jest": {
"clearMocks": true,
"collectCoverage": true,
"collectCoverageFrom": [
"<rootDir>/packages/**/*.{js,ts}"
],
"moduleNameMapper": {
"fs-extra": "<rootDir>/node_modules/fs-extra",
"@sls-next/core/package.json": "<rootDir>/packages/libs/core/package.json",
"@sls-next/core/dist/module(.*)": "<rootDir>/packages/libs/core/src$1",
"@sls-next/core/dist(.*)": "<rootDir>/packages/libs/core/src$1",
"@sls-next/core(.*)": "<rootDir>/packages/libs/core/src$1"
},
"coverageDirectory": "<rootDir>/coverage/",
"coveragePathIgnorePatterns": [
"<rootDir>/packages/deprecated/serverless-plugin/utils/yml/cfSchema.js",
"<rootDir>/packages/deprecated/serverless-plugin/utils/test",
"/.serverless_nextjs/",
"/fixtures/",
"/fixture/",
"/examples/",
"/dist/",
"/e2e-tests/",
"/tests/",
"/scripts/",
"babel.config.js",
"jest.config.js",
"<rootDir>/packages/serverless-components/aws-s3",
"<rootDir>/packages/libs/serverless-patched",
"<rootDir>/packages/libs/lambda-at-edge/src/render/renderStaticPage.ts",
"<rootDir>/packages/libs/lambda-at-edge/src/default-handler-v2.ts",
"<rootDir>/packages/libs/lambda-at-edge/src/regeneration-handler-v2.ts",
"<rootDir>/packages/libs/core/src/defaultHandler.ts",
"<rootDir>/packages/libs/core/src/regenerationHandler.ts",
"<rootDir>/packages/libs/core/src/platform/platformClient.ts",
"<rootDir>/packages/libs/core/src/build/builder.ts",
"<rootDir>/packages/libs/aws-common/src/awsPlatformClient.ts",
"<rootDir>/packages/libs/lambda/"
],
"watchPathIgnorePatterns": [
"/fixture/",
"/fixtures/"
],
"testPathIgnorePatterns": [
"<rootDir>/packages/deprecated/serverless-plugin/*",
"/.next/",
"/node_modules/",
"/fixtures/",
"/fixture/",
"/examples/",
"/integration/",
"/cypress/",
"/sharp_node_modules/",
"aws-sdk.mock.ts"
],
"setupFiles": [
"<rootDir>/jest.setup.js"
],
"modulePathIgnorePatterns": [
"/sharp_node_modules/"
]
},
"dependencies": {
"opencollective-postinstall": "^2.0.3",
"lodash": "^4.17.21",
"node-fetch": "^2.6.1"
},
"collective": {
"type": "opencollective",
"url": "https://opencollective.com/serverless-nextjs-plugin"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,md,yml}": [
"prettier --write"
],
"*.{js,jsx,ts,tsx}": [
"eslint --fix"
]
},
"resolutions": {
"which": "^2.0.1",
"lodash": "^4.17.21"
}
}