This repository has been archived by the owner on Apr 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
91 lines (91 loc) · 2.84 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
{
"name": "web",
"version": "0.1.0",
"private": true,
"proxy": "http://localhost:8080",
"dependencies": {
"apollo": "^2.1.8",
"apollo-boost": "^0.1.23",
"graphql": "^14.0.2",
"intersection-observer": "^0.5.1",
"lodash": "^4.17.13",
"polished": "^2.3.1",
"react": "^16.8.6",
"react-apollo": "^2.3.3",
"react-dom": "^16.7.0",
"react-intersection-observer": "^6.3.1",
"react-redux": "^6.0.0",
"react-router-dom": "^4.3.1",
"react-side-effect": "^1.1.5",
"react-virtual-list": "^2.3.0",
"redux": "^4.0.1",
"redux-devtools-extension": "^2.13.7",
"styled-components": "^4.1.3"
},
"devDependencies": {
"@forte-music/mock": "^0.0.43",
"@forte-music/schema": "^0.0.43",
"@storybook/addon-actions": "^4.1.2",
"@storybook/addon-storyshots": "^4.1.2",
"@storybook/addons": "^4.1.2",
"@storybook/react": "^4.1.2",
"@types/enzyme": "^3.9.3",
"@types/graphql": "^14.0.3",
"@types/jest": "^24.0.0",
"@types/lodash": "^4.14.119",
"@types/react-dom": "^16.0.11",
"@types/react-redux": "^7.0.9",
"@types/react-router-dom": "^4.3.1",
"@types/react-side-effect": "^1.1.1",
"@types/storybook__addon-actions": "^3.4.1",
"@types/storybook__react": "^4.0.2",
"@types/styled-components": "^4.1.4",
"enzyme": "^3.8.0",
"enzyme-adapter-react-16": "^1.7.1",
"husky": "^1.3.0",
"jest-enzyme": "^7.0.2",
"prettier": "1.15.3",
"react-display-name": "^0.2.4",
"react-scripts": "^2.1.1",
"require-context.macro": "^1.0.4",
"tslint": "^5.10.0",
"tslint-config-prettier": "^1.17.0",
"tslint-react": "^3.6.0",
"typescript": "^3.2.2"
},
"config": {
"prettierFiles": "'*.js' src/**/*.{js,css,ts,tsx} README.md"
},
"scripts": {
"fmt": "prettier --write $npm_package_config_prettierFiles",
"check-all": "yarn query-codegen && yarn lint && CI=true yarn test",
"storybook": "REACT_APP_MOCK_RESOLVER=true start-storybook -p 9001 -c ./.storybook",
"start-mock": "REACT_APP_MOCK_RESOLVER=true yarn start",
"start": "react-scripts start",
"build": "yarn query-codegen && react-scripts build",
"test": "react-scripts test",
"lint": "yarn tsc && yarn check-fmt && yarn tslint",
"tslint": "tslint --project .",
"check-fmt": "prettier --list-different $npm_package_config_prettierFiles",
"query-codegen": "apollo codegen:generate --queries 'src/**/*.{graphql,ts,tsx}' --target typescript --globalTypesFile src/__generated__/globalTypes.ts && rm -rf __generated__"
},
"husky": {
"hooks": {
"pre-commit": "yarn fmt"
}
},
"apollo": {
"client": {
"service": {
"name": "forte",
"localSchemaFile": "./node_modules/@forte-music/schema/schema.graphql"
}
}
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
]
}