-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
115 lines (115 loc) · 3.78 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
{
"name": "restaurants",
"version": "0.1.0",
"private": true,
"proxy": "http://localhost:5000",
"engines": {
"yarn": "^1.13.0"
},
"dependencies": {
"@apollo/react-hooks": "^3.0.1",
"@types/dotenv": "^6.1.1",
"@types/jest": "^24.0.18",
"@types/node": "12.7.2",
"@types/react": "16.9.2",
"@types/react-dom": "16.9.0",
"@types/react-router-dom": "^4.3.5",
"apollo-boost": "^0.4.4",
"dotenv": "^8.1.0",
"firebase": "^6.5.0",
"graphql": "^14.5.4",
"history": "^4.9.0",
"polished": "^3.4.1",
"react": "^16.9.0",
"react-apollo": "^3.0.1",
"react-dom": "^16.9.0",
"react-router-dom": "^5.0.1",
"react-scripts": "3.1.1",
"styled-components": "^4.3.2",
"ts-optchain": "^0.1.8",
"typescript": "3.6.2"
},
"scripts": {
"schema:download": "apollo schema:download graphql-schema.json",
"precodegen:generate": "yarn schema:download",
"codegen:generate": "apollo codegen:generate --localSchemaFile=graphql-schema.json --target=typescript --includes=src/**/*.ts --tagName=gql --addTypename --globalTypesFile=src/types/graphql-global-types.ts types",
"test:results": "yarn test:all --json --outputFile=jest-test-results.json --detectOpenHandles ",
"test:results:watch": "yarn test:results --watch",
"prestart": "yarn codegen:generate",
"start": "concurrently -n CLIENT,SERVER \"yarn start:client\" \"yarn start:server\"",
"start:client": "react-scripts start",
"start:server": "cd functions && npm run serve",
"build": "react-scripts build",
"test": "react-scripts test --color",
"test:all": "yarn test --all",
"eject": "react-scripts eject",
"lint": "tslint -c tslint.json \"src/**/*.ts\"",
"format": "prettier --write \"src/**/*.ts\"",
"check-format": "prettier --check \"src/**/*.ts\"",
"start:storybook": "NODE_PATH=. start-storybook -p 6006",
"FAILING__prestorybook": "CI=true react-scripts test --all --json --outputFile=jest-test-results.json --forceExit && yarn codegen:generate",
"storybook": "concurrently -n JEST,Server,Storybook \"yarn test:results:watch\" \"yarn start:server \" \"yarn start:storybook\"",
"prebuild-storybook": "yarn test:results --forceExit",
"build-storybook": "build-storybook",
"preinstall": "cd functions && npm install && npm run config",
"s": "yarn start",
"sb": "yarn storybook",
"t": "yarn test",
"ta": "yarn test:all"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"prettier": {
"useTabs": true,
"arrowParens": "always",
"endOfLine": "lf"
},
"devDependencies": {
"@babel/core": "^7.5.5",
"@storybook/addon-a11y": "^5.1.11",
"@storybook/addon-actions": "^5.1.11",
"@storybook/addon-centered": "^5.1.11",
"@storybook/addon-graphql": "^5.1.11",
"@storybook/addon-jest": "^5.1.11",
"@storybook/addon-knobs": "^5.1.11",
"@storybook/addon-links": "^5.1.11",
"@storybook/addon-viewport": "^5.1.11",
"@storybook/addons": "^5.1.11",
"@storybook/react": "^5.1.11",
"@storybook/theming": "^5.1.11",
"@types/enzyme": "^3.10.3",
"@types/graphql": "^14.5.0",
"@types/history": "^4.7.3",
"@types/storybook__addon-centered": "^3.4.1",
"@types/storybook__addon-jest": "^3.4.3",
"@types/storybook__addon-knobs": "^5.0.3",
"@types/storybook__react": "^4.0.2",
"@types/styled-components": "^4.1.18",
"apollo": "^2.18.0",
"babel-loader": "^8.0.6",
"concurrently": "^4.1.2",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.14.0",
"jest-prop-type-error": "^1.1.0",
"prettier": "1.18.2",
"storybook-addon-styled-component-theme": "^1.2.4",
"ts-jest": "^24.0.2",
"tslint": "^5.19.0",
"tslint-config-prettier": "^1.18.0",
"tslint-eslint-rules": "^5.4.0",
"tslint-react": "^4.0.0"
}
}