-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
119 lines (119 loc) · 4.09 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
{
"name": "jss-storybook",
"description": "Application utilizing Sitecore JavaScript Services and Next.js",
"version": "21.4.0",
"private": true,
"config": {
"appName": "jss-storybook",
"rootPlaceholders": [
"jss-main"
],
"sitecoreConfigPath": "/App_Config/Include/zzz",
"graphQLEndpointPath": "/sitecore/api/graph/edge",
"language": "en",
"templates": [
"nextjs",
"nextjs-sxa"
]
},
"engines": {
"node": ">=12",
"npm": ">=6"
},
"author": {
"name": "Sitecore Corporation",
"url": "https://jss.sitecore.com"
},
"repository": {
"type": "git",
"url": "git+https://github.com/sitecore/jss.git"
},
"bugs": {
"url": "https://github.com/sitecore/jss/issues"
},
"license": "Apache-2.0",
"dependencies": {
"@sitecore-feaas/clientside": "^0.3.10",
"@sitecore-jss/sitecore-jss-nextjs": "~21.4.0",
"bootstrap": "^5.1.3",
"font-awesome": "^4.7.0",
"graphql": "~15.8.0",
"graphql-tag": "^2.12.6",
"next": "^13.4.16",
"next-localization": "^0.12.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"sass": "^1.52.3",
"sass-alias": "^1.0.5"
},
"devDependencies": {
"@graphql-codegen/cli": "^1.21.8",
"@graphql-codegen/import-types-preset": "^2.2.6",
"@graphql-codegen/plugin-helpers": "^3.1.2",
"@graphql-codegen/typed-document-node": "^2.3.12",
"@graphql-codegen/typescript": "^2.8.7",
"@graphql-codegen/typescript-operations": "^2.5.12",
"@graphql-codegen/typescript-resolvers": "^2.7.12",
"@graphql-typed-document-node/core": "^3.1.1",
"@sitecore-jss/sitecore-jss-cli": "~21.4.0",
"@sitecore-jss/sitecore-jss-dev-tools": "~21.4.0",
"@storybook/addon-essentials": "^7.4.6",
"@storybook/addon-interactions": "^7.4.6",
"@storybook/addon-links": "^7.4.6",
"@storybook/addon-onboarding": "^1.0.8",
"@storybook/blocks": "^7.4.6",
"@storybook/nextjs": "^7.4.6",
"@storybook/react": "^7.4.6",
"@storybook/test-runner": "^0.13.0",
"@storybook/testing-library": "^0.2.2",
"@types/node": "^18.11.18",
"@types/react": "^18.0.12",
"@types/react-dom": "^18.0.5",
"@typescript-eslint/eslint-plugin": "^5.49.0",
"@typescript-eslint/parser": "^5.49.0",
"chalk": "~4.1.2",
"chokidar": "~3.5.3",
"constant-case": "^3.0.4",
"cross-env": "~7.0.3",
"dotenv": "^16.0.3",
"eslint": "^8.32.0",
"eslint-config-next": "^13.1.5",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.32.1",
"eslint-plugin-storybook": "^0.6.15",
"eslint-plugin-yaml": "^0.5.0",
"graphql-let": "^0.18.6",
"npm-run-all": "~4.1.5",
"prettier": "^2.8.3",
"storybook": "^7.4.6",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.1.2",
"typescript": "~4.9.4",
"yaml-loader": "^0.8.0"
},
"scripts": {
"bootstrap": "ts-node --project tsconfig.scripts.json scripts/bootstrap.ts",
"build": "npm-run-all --serial bootstrap next:build",
"graphql:update": "ts-node --project tsconfig.scripts.json ./scripts/fetch-graphql-introspection-data.ts",
"install-pre-push-hook": "ts-node --project tsconfig.scripts.json ./scripts/install-pre-push-hook.ts",
"jss": "jss",
"lint": "eslint ./src/**/*.tsx ./src/**/*.ts ./scripts/**/*.ts",
"next:build": "next build",
"next:dev": "cross-env NODE_OPTIONS='--inspect' next dev",
"next:start": "next start",
"scaffold": "ts-node --project tsconfig.scripts.json scripts/scaffold-component/index.ts",
"start:connected": "npm-run-all --serial bootstrap --parallel next:dev start:watch-components",
"start:production": "npm-run-all --serial bootstrap next:build next:start",
"start:watch-components": "ts-node --project tsconfig.scripts.json scripts/generate-component-builder/index.ts --watch",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"test-storybook": "test-storybook",
"generate-stories": "ts-node --project tsconfig.scripts.json scripts/generate-stories.ts"
},
"eslintConfig": {
"extends": [
"plugin:storybook/recommended"
]
}
}