forked from aws-amplify/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
144 lines (144 loc) · 4.14 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
{
"name": "docs",
"version": "2.0.0",
"main": "index.js",
"repository": {
"type": "git",
"url": "https://github.com/aws-amplify/docs.git"
},
"license": "Apache-2.0",
"private": true,
"dependencies": {
"@aws-amplify/amplify-cli-core": "^4.2.10",
"@aws-amplify/ui-react": "^5.3.1",
"@docsearch/react": "3",
"@octokit/rest": "^19.0.7",
"aws-amplify": "^5.0.5",
"html-entities": "^1.2.1",
"mdx-prism": "^0.3.4",
"next": "^13.5.6",
"next-image-export-optimizer": "^1.8.3",
"next-transpile-modules": "^9.0.0",
"parse-imports": "^1.1.0",
"prism-react-renderer": "^2.1.0",
"prismjs": "^1.27.0",
"react": "^18.2.0",
"react-copy-to-clipboard": "^5.1.0",
"react-dom": "^18.2.0",
"react-icons": "^4.7.1",
"unified": "^10.1.2"
},
"devDependencies": {
"@mdx-js/loader": "^2.3.0",
"@mdx-js/mdx": "^2.3.0",
"@mdx-js/react": "^2.3.0",
"@next/bundle-analyzer": "^13.5.3",
"@next/mdx": "^13.5.4",
"@stencil/core": "^1.17.0",
"@stencil/eslint-plugin": "^0.2.1",
"@stencil/router": "^1.0.1",
"@stencil/sass": "^1.3.1",
"@testing-library/jest-dom": "^6.1.2",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^13.5.0",
"@types/fs-extra": "^9.0.1",
"@types/jest": "^26.0.19",
"@types/node": "^12.12.9",
"@types/react": "^18.0.0",
"@types/url-parse": "^1.4.3",
"@typescript-eslint/eslint-plugin": "^2.7.0",
"@typescript-eslint/parser": "^2.7.0",
"axios": "^1.3.4",
"classnames": "^2.3.2",
"cross-env": "^7.0.3",
"cspell": "^6.2.3",
"dotenv": "^16.0.0",
"eslint": "^6.6.0",
"eslint-config-airbnb": "^18.0.1",
"eslint-config-next": "^13.2.4",
"eslint-config-prettier": "^6.5.0",
"eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-react": "^7.16.0",
"fs-extra": "^9.0.1",
"git-jiggy": "1.1.1",
"husky": "^8.0.1",
"jest": "^26.6.3",
"jest-cli": "^26.6.3",
"json5": "^2.2.3",
"next-bundle-analyzer": "^0.6.7",
"prettier": "^3.0.3",
"puppeteer": "^20.8.2",
"rehype": "^11.0.0",
"rehype-img-size": "^1.0.1",
"remark": "^14.0.2",
"remark-gfm": "^3.0.0",
"remark-mdx": "^2.3.0",
"remark-mdx-searchable": "^0.1.3",
"rollup-plugin-node-polyfills": "^0.2.1",
"sass": "^1.54.8",
"serve": "^14.2.1",
"tiny-glob": "0.2.9",
"ts-jest": "^26.0.3",
"ts-node": "^8.5.0",
"typescript": "^4.9",
"unist-util-visit": "^4.1.0",
"workbox-build": "4.3.1"
},
"resolutions": {
"**/trim": "0.0.3",
"@babel/core": "^7.23.2",
"@babel/traverse": "^7.23.2",
"loader-utils": "2.0.4",
"minimatch": "3.1.2",
"json5": "^2.2.3",
"decode-uri-component": "0.2.1",
"fast-xml-parser": "4.2.5",
"semver": "7.5.2",
"tough-cookie": "4.1.3",
"aws-cdk-lib": "2.80.0",
"prismjs": "^1.27.0"
},
"jest": {
"preset": "./preset.js",
"roots": [
"<rootDir>/src"
],
"transform": {
"^.+\\.(ts|tsx|js|mjs)$": [
"babel-jest",
{
"presets": [
"next/babel"
]
}
]
},
"testPathIgnorePatterns": [
"capi",
".next",
"client"
],
"setupFilesAfterEnv": [
"<rootDir>/jest.setup.js"
],
"moduleNameMapper": {
"\\.(css|less|scss)$": "<rootDir>/src/__mocks__/styleMock.js"
},
"transformIgnorePatterns": []
},
"scripts": {
"clean": "rm -rf node_modules yarn.lock",
"refresh": "yarn clean && yarn",
"test": "jest",
"dev": "yarn prebuild && next dev",
"spellcheck": "cspell \"src/**/*.mdx\" --no-progress",
"spellcheck-diff": "git diff --name-only --cached | awk \"/src.*\\.mdx/{print}\" | npx cspell --no-must-find-files --file-list stdin",
"build": "node tasks/generate-sitemap.mjs && next build",
"build:release": "yarn build && next-image-export-optimizer --exportFolderPath client/www/next-build",
"next-build": "next build",
"next-start": "next start",
"prepare": "husky install",
"analyze": "ANALYZE=true yarn next-build",
"prebuild": "node src/directory/generateDirectory.mjs && node src/directory/generateFlatDirectory.mjs"
}
}