forked from aws-amplify/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
132 lines (132 loc) · 3.84 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
{
"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,
"workspaces": [
"capi"
],
"dependencies": {
"@algolia/autocomplete-js": "^1.5.3",
"@algolia/autocomplete-plugin-query-suggestions": "^1.5.6",
"@algolia/autocomplete-plugin-recent-searches": "^1.5.6",
"@algolia/autocomplete-shared": "^1.5.6",
"@algolia/autocomplete-theme-classic": "^1.6.1",
"@algolia/client-search": "^4.13.0",
"@aws-amplify/ui-components": "latest",
"@aws-amplify/ui-react": "^1.2.5",
"@emotion/react": "^11.1.5",
"@emotion/styled": "^11.3.0",
"@mdx-js/mdx": "^2.0.0",
"algoliasearch": "^4.12.1",
"array-flatten": "^3.0.0",
"aws-amplify": "latest",
"copy-to-clipboard": "^3.2.1",
"dotenv": "^16.0.0",
"emotion": "^10.0.23",
"extract-mdx-metadata": "^2.0.0",
"html-entities": "^1.2.1",
"instantsearch.js": "^4.39.1",
"next": "^12.1.4",
"next-transpile-modules": "^9.0.0",
"parse-imports": "^1.1.0",
"prismjs": "^1.21.0",
"ramda": "^0.28.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"rehype": "^11.0.0",
"remark": "^14.0.2",
"remark-mdx": "^2.0.0",
"remark-mdx-searchable": "^0.1.3",
"theme-ui": "^0.7.5",
"unified": "^10.1.2",
"unist-util-visit": "^4.1.0",
"validator": "^13.7.0"
},
"devDependencies": {
"@mdx-js/loader": "^1.6.22",
"@next/mdx": "^10.1.3",
"@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": "^5.16.2",
"@testing-library/react": "^12.1.3",
"@testing-library/user-event": "^13.5.0",
"@types/fs-extra": "^9.0.1",
"@types/jest": "^26.0.19",
"@types/node": "^12.12.9",
"@types/puppeteer": "1.20.2",
"@types/react": "^17.0.3",
"@types/url-parse": "^1.4.3",
"@typescript-eslint/eslint-plugin": "^2.7.0",
"@typescript-eslint/parser": "^2.7.0",
"cspell": "^4.0.55",
"eslint": "^6.6.0",
"eslint-config-airbnb": "^18.0.1",
"eslint-config-prettier": "^6.5.0",
"eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-react": "^7.16.0",
"fs-extra": "^9.0.1",
"husky": "^4.2.5",
"jest": "^26.6.3",
"jest-cli": "^26.6.3",
"prettier": "^1.19.1",
"puppeteer": "1.20.0",
"rollup-plugin-node-polyfills": "^0.2.1",
"ts-jest": "^26.0.3",
"ts-node": "^8.5.0",
"typescript": "^3.8.3",
"workbox-build": "4.3.1"
},
"resolutions": {
"**/trim": "0.0.3"
},
"husky": {
"hooks": {
"pre-commit": "yarn spellcheck-diff"
}
},
"jest": {
"roots": [
"<rootDir>/src"
],
"transform": {
"^.+\\.(ts|tsx|js)$": [
"babel-jest",
{
"presets": [
"next/babel"
]
}
]
},
"testPathIgnorePatterns": [
"capi",
".next",
"client"
],
"setupFilesAfterEnv": [
"<rootDir>/jest.setup.js"
]
},
"scripts": {
"clean": "rm -rf node_modules yarn.lock",
"refresh": "yarn clean && yarn",
"task": "ts-node tasks",
"test": "jest",
"spellcheck": "cspell 'src/**/*.mdx'",
"spellcheck-diff": "cspell --no-must-find-files $(git diff --cached --name-only | awk '/src.*\\.mdx/{print}' | cat - <(echo 'preventNoFilesPrintout'))",
"dev": "yarn build-support-config && next dev",
"build": "yarn task generate-sitemap && next build && next export -o client/www/next-build",
"next-build": "next build",
"next-start": "next start",
"amplify:submissionsLambda": "cd amplify/backend/function/submissionsLambda/src && yarn install && yarn build && yarn test",
"build-support-config": "chmod +x build_support/create-awsconfig.sh && ./build_support/create-awsconfig.sh"
}
}