-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
60 lines (60 loc) · 2.22 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
{
"name": "nextjs-sanity-fe",
"version": "0.0.1",
"description": "A demo ecommerce site using Next.js, Sanity CMS, and Fastly.",
"keywords": [],
"author": "Formidable",
"main": "index.js",
"license": "MIT",
"scripts": {
"plop": "plop",
"dev:nextjs": "pnpm run --filter ./packages/nextjs dev",
"next:dev": "pnpm run --filter ./packages/nextjs next:dev",
"next:dev:mock": "pnpm run --filter ./packages/nextjs next:dev:mock",
"build:nextjs": "pnpm run --filter ./packages/nextjs build",
"build:shared-ui": "pnpm run --filter shared-ui build",
"start:nextjs": "pnpm run --filter ./packages/nextjs start",
"prepare": "husky install",
"lint": "pnpm run --parallel lint",
"typecheck": "pnpm run --parallel typecheck",
"test:unit": "pnpm run --filter ./packages/nextjs test:unit",
"test:unit:watch": "pnpm run --filter ./packages/nextjs test:unit:watch",
"test:e2e-real": "pnpm run --filter ./packages/tests-e2e test:e2e-real",
"test:e2e-real:open": "pnpm run --filter ./packages/tests-e2e test:e2e-real:open",
"test:e2e-real:start": "start-server-and-test next:dev http://localhost:3000 test:e2e-real",
"test:e2e-mock": "pnpm run --filter ./packages/tests-e2e test:e2e-mock",
"test:e2e-mock:open": "pnpm run --filter ./packages/tests-e2e test:e2e-mock:open",
"test:e2e-mock:start": "start-server-and-test next:dev:mock http://localhost:3000 test:e2e-mock"
},
"devDependencies": {
"@types/node": "20.8.7",
"@types/react": "18.2.0",
"@types/react-dom": "18.2.0",
"@types/styled-components": "^5.1.29",
"@typescript-eslint/eslint-plugin": "^5.48.1",
"@typescript-eslint/parser": "^5.48.1",
"eslint": "^8.31.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-prettier": "^4.2.1",
"glob": "^10.3.4",
"husky": "^8.0.3",
"inquirer-autocomplete-prompt": "^3.0.0",
"lint-staged": "^13.1.0",
"plop": "^4.0.0",
"prettier": "^2.8.2",
"start-server-and-test": "^1.15.2",
"tailwindcss": "^3.1.8",
"typescript": "5.2.2"
},
"pnpm": {
"overrides": {
"@types/react": "18.2.0",
"@types/react-dom": "18.2.0"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx,css,md,json}": [
"prettier --write"
]
}
}