forked from omjokine/serverless-next.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
128 lines (128 loc) · 4.1 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
{
"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": {
"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.}\"",
"publish": "yarn check-gh-token && lerna publish --conventional-commits --exact --create-release github",
"prerelease": "yarn check-gh-token && lerna publish --conventional-commits --conventional-prerelease --exact --create-release github --dist-tag alpha",
"graduate": "yarn check-gh-token && lerna publish --conventional-commits --conventional-graduate --exact --create-release github",
"lint": "eslint .",
"coveralls": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"integration": "jest --runInBand --config jest.integration.config.json --setupTestFrameworkScriptFile=./jest.integration.setup.js",
"postinstall": "yarn packages-install && opencollective-postinstall || true",
"docs": "cd documentation && yarn && yarn build"
},
"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/preset-typescript": "^7.10.4",
"@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.1",
"@types/jest": "^26.0.3",
"@types/react": "^16.9.41",
"@types/react-dom": "^16.9.8",
"@types/webpack": "^4.41.18",
"@typescript-eslint/eslint-plugin": "^3.5.0",
"@typescript-eslint/parser": "^3.5.0",
"adm-zip": "^0.4.16",
"coveralls": "^3.1.0",
"eslint": "^7.3.1",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.4",
"fs-extra": "^9.0.1",
"husky": "^4.2.5",
"jest": "^26.1.0",
"jest-when": "^2.7.2",
"lerna": "^3.22.1",
"lint-staged": "^10.2.11",
"next": "^9.4.4",
"prettier": "^2.0.5",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"serverless": "^1.74.1",
"serverless-offline": "^6.4.0",
"typescript": "^3.9.6"
},
"jest": {
"clearMocks": true,
"collectCoverage": true,
"collectCoverageFrom": [
"<rootDir>/packages/**/*.{js,ts}"
],
"moduleNameMapper": {
"fs-extra": "<rootDir>/node_modules/fs-extra"
},
"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/",
"/tests/"
],
"watchPathIgnorePatterns": [
"/fixture/",
"/fixtures/"
],
"testPathIgnorePatterns": [
"<rootDir>/packages/deprecated/serverless-plugin/*",
"/.next/",
"/node_modules/",
"/fixtures/",
"/fixture/",
"/examples/",
"/integration/",
"/cypress/"
],
"setupFiles": [
"<rootDir>/jest.setup.js"
]
},
"dependencies": {
"opencollective-postinstall": "^2.0.3"
},
"collective": {
"type": "opencollective",
"url": "https://opencollective.com/serverless-nextjs-plugin"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx,md,yml}": "prettier --write"
},
"resolutions": {
"which": "^2.0.1",
"lodash": "^4.17.19"
}
}