forked from reactioncommerce/example-storefront
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
158 lines (158 loc) · 4.96 KB
/
Copy pathpackage.json
File metadata and controls
158 lines (158 loc) · 4.96 KB
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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
{
"name": "example-storefront",
"version": "3.0.0-alpha",
"description": "The Example Storefront serves as a reference for implementing a web based storefront using the Reaction Commerce GraphQL API.",
"main": "./src/server.js",
"keywords": [],
"author": {
"name": "Reaction Commerce",
"email": "engineering@reactioncommerce.com",
"url": "https://reactioncommerce.com"
},
"license": "Apache-2.0",
"sideEffects": false,
"scripts": {
"dev": "echo 'Note: dev script has been renamed to start:dev' && yarn run start:dev",
"build": "yarn run build-clean && NODE_ENV=production IS_BUILDING_NEXTJS=1 next build src",
"build-clean": "rimraf build/app",
"lint": "eslint .",
"start": "NODE_ENV=production node ./src/server.js",
"start:dev": "NODE_ENV=development node ./src/server.js",
"test": "yarn run test:unit",
"test:ci": "yarn run test:unit --ci --runInBand --colors",
"test:unit": "NODE_ENV=jesttest jest",
"test:unit:watch": "NODE_ENV=jesttest jest --watchAll",
"test:integration": "mocha tests/integration",
"test:link": "blc http://web.api.reaction.localhost:4000 -ro -filter=3 -e",
"test:file": "NODE_ENV=jesttest jest --watch --no-coverage"
},
"eslintConfig": {
"extends": "@reactioncommerce",
"settings": {
"react": {
"version": "detect"
}
}
},
"dependencies": {
"@material-ui/core": "~3.9.2",
"@reactioncommerce/components": "~0.67.2",
"@reactioncommerce/components-context": "~1.2.0",
"@segment/snippet": "~4.4.0",
"apollo-cache-inmemory": "~1.4.2",
"apollo-client": "~2.4.12",
"apollo-link": "~1.2.8",
"apollo-link-context": "~1.0.14",
"apollo-link-error": "~1.1.7",
"apollo-link-http": "~1.5.11",
"apollo-link-ws": "~1.0.14",
"body-parser": "~1.19.0",
"chalk": "~2.4.2",
"classnames": "~2.2.6",
"compression": "~1.7.3",
"cookie-parser": "~1.4.3",
"cookie-session": ">=2.0.0-beta.3 < 2.1.0",
"date-fns": "~1.30.1",
"envalid": "~4.2.0",
"express": "~4.16.4",
"graphql": "~14.1.1",
"graphql-tag": "~2.10.1",
"isomorphic-fetch": "~2.2.1",
"js-cookie": "~2.2.0",
"keymirror": "~0.1.1",
"lodash": "~4.17.11",
"mdi-material-ui": "~5.9.0",
"mobx": "~4.9.2",
"mobx-react": "~5.4.3",
"next": "~7.0.2",
"next-routes": "~1.4.2",
"passport": "~0.4.0",
"passport-oauth2": "~1.4.0",
"prop-types": "~15.7.2",
"react": "~16.8.6",
"react-apollo": "~2.4.1",
"react-container-query": "~0.11.0",
"react-dom": "~16.8.6",
"react-helmet": "~5.2.0",
"react-jss": "~8.6.1",
"react-stripe-elements": "~2.0.3",
"react-tracking": "~5.6.0",
"reacto-form": "~1.4.0",
"styled-components": "~3.4.10",
"subscriptions-transport-ws": "~0.9.15"
},
"devDependencies": {
"@babel/cli": "~7.4.4",
"@babel/core": "~7.2.2",
"@babel/node": "~7.2.2",
"@babel/plugin-proposal-class-properties": "~7.3.0",
"@babel/plugin-proposal-decorators": "~7.3.0",
"@babel/plugin-proposal-export-namespace-from": "~7.2.0",
"@babel/plugin-proposal-function-sent": "~7.2.0",
"@babel/plugin-proposal-json-strings": "~7.2.0",
"@babel/plugin-proposal-numeric-separator": "~7.2.0",
"@babel/plugin-proposal-throw-expressions": "~7.2.0",
"@babel/plugin-syntax-dynamic-import": "~7.2.0",
"@babel/plugin-syntax-import-meta": "~7.2.0",
"@babel/preset-env": "~7.3.1",
"@reactioncommerce/eslint-config": "~1.9.0",
"babel-core": "~7.0.0-bridge.0",
"babel-eslint": "~8.2.6",
"babel-jest": "~24.8.0",
"babel-plugin-dynamic-import-node": "~2.2.0",
"babel-plugin-module-resolver": "~3.1.3",
"babel-plugin-styled-components": "~1.10.0",
"broken-link-checker": "~0.7.8",
"chai": "~4.2.0",
"chai-cheerio": "~1.0.0",
"cheerio": ">=1.0.0-rc.2 < 1.1.0",
"enzyme": "~3.8.0",
"enzyme-adapter-react-16": "~1.8.0",
"eslint": "~4.19.1",
"eslint-plugin-import": "~2.16.0",
"eslint-plugin-jest": "~21.27.2",
"eslint-plugin-jsx-a11y": "~6.2.1",
"eslint-plugin-promise": "~3.8.0",
"eslint-plugin-react": "~7.12.4",
"jest": "~24.0.0",
"jest-junit": "~6.2.1",
"jest-styled-components": "~6.3.1",
"jest-transform-graphql": "~2.1.0",
"mocha": "~5.2.0",
"react-test-renderer": "~16.7.0",
"rimraf": "~2.6.3",
"snyk": "~1.126.0"
},
"jest": {
"collectCoverage": true,
"collectCoverageFrom": [
"**/*.{js,jsx}",
"!**/reports/**",
"!**/dist/**",
"!**/node_modules/**",
"!**/vendor/**"
],
"coverageDirectory": "reports/coverage",
"reporters": [
"default",
"jest-junit"
],
"roots": [
"./src"
],
"setupFilesAfterEnv": [
"<rootDir>/tests/setupTests.js"
],
"transform": {
"\\.(gql|graphql)$": "jest-transform-graphql",
".*": "babel-jest"
}
},
"jest-junit": {
"output": "reports/junit/junit.xml",
"suiteName": "jest-tests"
},
"prettier": {
"arrowParens": "always"
}
}