-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
104 lines (104 loc) · 3.54 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
{
"name": "hello-jss-typescript",
"description": "Application utilizing Sitecore JavaScript Services and React (create-react-app).",
"version": "11.0.2",
"private": true,
"config": {
"appName": "hello-jss-typescript",
"rootPlaceholders": [
"jss-main"
],
"sitecoreDistPath": "/dist/hello-jss-typescript",
"sitecoreConfigPath": "/App_Config/Include/zzz",
"graphQLEndpointPath": "/api/hello-jss-typescript",
"language": "en"
},
"engines": {
"node": ">=8.1",
"npm": ">=5.6.0",
"yarn": "yarn is not supported, please use npm"
},
"author": {
"name": "Sitecore Corporation",
"url": "https://jss.sitecore.net"
},
"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-jss/sitecore-jss-react": "^11.0.2",
"@sitecore-jss/sitecore-jss-tracking": "^11.0.2",
"@types/node": "^10.12.21",
"@types/react": "^16.8.2",
"@types/react-dom": "^16.8.0",
"apollo-cache-inmemory": "~1.3.12",
"apollo-client": "~2.4.8",
"apollo-link": "~1.2.6",
"apollo-link-batch-http": "~1.2.6",
"apollo-link-http": "~1.5.9",
"apollo-link-persisted-queries": "~0.2.2",
"axios": "~0.18.0",
"bootstrap": "~4.2.1",
"graphql": "~14.0.2",
"graphql-tag": "~2.10.0",
"i18next": "~13.1.2",
"i18next-fetch-backend": "~2.0.0",
"isomorphic-fetch": "~2.2.1",
"react": "~16.7.0",
"react-apollo": "~2.3.3",
"react-dom": "~16.7.0",
"react-helmet": "~5.2.0",
"react-i18next": "~9.0.2",
"react-router-dom": "~4.3.1",
"react-scripts": "2.1.3",
"serialize-javascript": "~1.6.1",
"typescript": "^3.3.1"
},
"devDependencies": {
"@babel/register": "~7.0.0",
"@sitecore-jss/sitecore-jss-cli": "^11.0.2",
"@sitecore-jss/sitecore-jss-dev-tools": "^11.0.2",
"@sitecore-jss/sitecore-jss-manifest": "^11.0.2",
"babel-loader": "8.0.4",
"babel-preset-react-app": "~7.0.0",
"chalk": "~2.4.2",
"chokidar": "~2.0.4",
"cross-env": "~5.2.0",
"graphql.macro": "~1.0.2",
"html-loader": "~0.5.5",
"http-proxy-middleware": "~0.19.1",
"npm-run-all": "~4.1.5",
"null-loader": "~0.1.1",
"url-loader": "~1.1.2",
"webpack": "4.19.1",
"webpack-cli": "~3.2.1"
},
"scripts": {
"jss": "jss",
"start": "npm-run-all --serial bootstrap:disconnected --parallel start:react start:proxy start:watch-components",
"start:connected": "scjss-verify-setup && npm-run-all --serial bootstrap:connected start:react start:watch-components",
"build": "npm-run-all --serial bootstrap:connected build:client build:server",
"scaffold": "node scripts/scaffold-component.js",
"start:react": "react-scripts start",
"start:proxy": "node scripts/disconnected-mode-proxy.js",
"start:watch-components": "node scripts/generate-component-factory.js --watch",
"build:client": "cross-env-shell PUBLIC_URL=$npm_package_config_sitecoreDistPath \"react-scripts build\"",
"build:server": "cross-env-shell NODE_ENV=production \"webpack --config server/server.webpack.config.js\"",
"bootstrap:connected": "node scripts/bootstrap.js",
"bootstrap:disconnected": "node scripts/bootstrap.js --disconnected",
"graphql:update": "node -r babel-register ./scripts/update-graphql-fragment-data.js",
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
]
}