-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
128 lines (128 loc) · 4.13 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
{
"name": "sym-pwa",
"description": "Application utilizing Sitecore JavaScript Services and React (create-react-app).",
"version": "9.0.6",
"private": true,
"config": {
"appName": "sym-pwa",
"rootPlaceholders": [
"jss-main",
"jss-header-banner"
],
"sitecoreDistPath": "/dist/sym-pwa",
"sitecoreConfigPath": "/App_Config/Include/zzz",
"graphQLEndpointPath": "/api/sym-pwa",
"language": "en"
},
"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": "^9.0.5",
"apollo-cache-inmemory": "^1.2.1",
"apollo-client": "^2.3.1",
"apollo-link": "^1.2.2",
"apollo-link-batch-http": "^1.2.2",
"apollo-link-http": "^1.5.4",
"apollo-link-persisted-queries": "^0.2.0",
"graphql": "0.13.0",
"graphql-tag": "^2.9.2",
"isomorphic-fetch": "^2.2.1",
"prop-types": "15.6.2",
"react": "16.3.2",
"react-apollo": "2.1.6",
"react-dom": "16.3.2",
"react-helmet": "5.2.0",
"react-rasta": "^1.0.4",
"react-router-dom": "4.2.2",
"react-scripts": "2.0.0-next.3e165448",
"serialize-javascript": "^1.5.0",
"styled-components": "3.4.6",
"styled-icons": "3.0.0"
},
"devDependencies": {
"@sitecore-jss/sitecore-jss-cli": "^9.0.6",
"@sitecore-jss/sitecore-jss-dev-tools": "^9.0.6",
"@sitecore-jss/sitecore-jss-manifest": "^9.0.5",
"babel-core": "^6.26.3",
"babel-eslint": "^9.0.0",
"babel-loader": "^7.1.4",
"babel-preset-env": "^1.7.0",
"babel-preset-react-app": "^3.1.1",
"babel-preset-stage-0": "^6.24.1",
"chalk": "^2.4.1",
"chokidar": "^2.0.3",
"cross-env": "^5.1.5",
"eslint-config-prettier": "^3.0.1",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-prettier": "^2.6.2",
"eslint-plugin-react": "^7.11.1",
"html-loader": "^0.5.5",
"ngrok": "^3.0.1",
"npm-run-all": "^4.1.3",
"null-loader": "^0.1.1",
"prettier": "^1.14.2",
"react-app-rewire-styled-components": "^3.0.2",
"react-app-rewire-workbox": "^2.0.1",
"react-app-rewired": "^2.0.0",
"url-loader": "^1.0.1",
"webpack": "4.8.3",
"webpack-cli": "^2.1.3",
"workbox-webpack-plugin": "^3.4.1"
},
"proxy": {
"/sitecore": {
"target": "http://localhost:3042"
},
"/data/media": {
"target": "http://localhost:3042"
}
},
"babel": {
"presets": [
"env",
"stage-0"
]
},
"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-app-rewired start",
"start:proxy": "node scripts/disconnected-mode-proxy.js",
"start:watch-components": "node scripts/generate-component-factory.js --watch",
"build:client": "cross-env-shell NODE_ENV=development PUBLIC_URL=$npm_package_config_sitecoreDistPath \"react-app-rewired build\"",
"build:server": "cross-env-shell NODE_ENV=development \"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-app-rewired test --env=jsdom",
"eject": "react-app-rewired eject",
"ngrok": "node scripts/ngrok.js",
"deploy:pwa": "cross-env-shell SW_DIR=/ \"jss build && node ./scripts/deploy-pwa.js\""
},
"browserslist": {
"development": [
"last 2 chrome versions",
"last 2 firefox versions",
"last 2 edge versions"
],
"production": [
">1%",
"last 4 versions",
"Firefox ESR",
"not ie < 11"
]
}
}