forked from grailbio/ui-components
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
128 lines (128 loc) · 4.09 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": "@grailbio/components",
"version": "2.0.0",
"homepage": "https://github.com/grailbio/ui-components",
"scripts": {
"build": "NODE_ENV=production yarn build:src",
"build:src": "tsdx build",
"build:client": "NODE_ENV=production yarn build:src",
"start:client": "NODE_ENV=development yarn build:src --watch",
"cy:open": "cypress open",
"cy:run": "cypress run",
"cy:record": "cypress run --record",
"cover": "open coverage/lcov-report/index.html",
"check-types": "yarn tsc",
"lint": "yarn check-types && tsdx lint src cypress",
"lint-fix": "yarn lint --fix",
"format": "prettier --write \"*.js\" cypress/**/*.js && yarn lint-fix",
"preinstall": "node -e 'if(!/yarn\\.js$/.test(process.env.npm_execpath))throw new Error(\"Use yarn install\")'",
"precommit": "lint-staged",
"prepublishOnly": "yarn lint && yarn test-all && yarn build",
"start": "yarn styleguide",
"styleguide": "styleguidist server",
"styleguide:build": "styleguidist build",
"test": "tsdx test --watch",
"test-e2e": "start-server-and-test styleguide 6060 cy:open",
"test-e2e:ci": "start-server-and-test styleguide 6060 cy:record",
"test:staged": "tsdx test --coverage && echo --findRelatedTests does not work properly with coverage",
"test-all": "tsdx test --coverage"
},
"husky": {
"hooks": {
"pre-commit": "yarn precommit"
}
},
"dependencies": {
"@date-io/core": "^1.3.13",
"@material-ui/pickers": "^3.2.10",
"@types/history": "^4.7.5",
"@types/lodash": "^4.14.149",
"@types/react-pdf": "^4.0.3",
"@types/react-virtualized-auto-sizer": "^1.0.0",
"@types/react-window": "^1.8.1",
"classnames": "^2.2.6",
"date-fns": "^2.11.0",
"dom-helpers": "^5.1.3",
"file-saver": "^2.0.2",
"keycode": "^2.2.0",
"lodash": "^4.17.15",
"lodash-es": "^4.17.15",
"material-ui-pickers": "^2.2.4",
"path-to-regexp": "3.2.0",
"react-pdf": "^4.1.0",
"react-virtualized-auto-sizer": "^1.0.2",
"react-window": "^1.8.5",
"resize-observer-polyfill": "^1.5.1"
},
"devDependencies": {
"@cypress/webpack-preprocessor": "4.1.3",
"@date-io/moment": "1.3.13",
"@grailbio/eslint-config-grail": "1.0.3",
"@grailbio/lib": "2.0.0",
"@material-ui/core": "4.9.7",
"@material-ui/icons": "4.9.1",
"@material-ui/lab": "4.0.0-alpha.43",
"@testing-library/jest-dom": "5.1.1",
"@testing-library/react": "10.0.1",
"@types/jest": "25.1.4",
"cypress": "4.2.0",
"fs-extra": "9.0.0",
"identity-obj-proxy": "3.0.0",
"jest-environment-jsdom-sixteen": "1.0.3",
"jest-mock-console": "1.0.0",
"lint-staged": "7.3.0",
"mockdate": "2.0.5",
"moment": "2.24.0",
"prettier": "2.0.2",
"react": "16.13.1",
"react-docgen-typescript": "1.16.3",
"react-dom": "16.13.1",
"react-jss": "10.1.1",
"react-router-dom": "5.1.2",
"react-scripts": "3.2.0",
"react-styleguidist": "^11.0.4",
"rollup-plugin-postcss": "2.5.0",
"sass": "1.26.3",
"start-server-and-test": "1.10.11",
"ts-jest": "25.2.1",
"tsdx": "0.13.0"
},
"peerDependencies": {
"@grailbio/lib": ">=2.0.0",
"@material-ui/core": "^4.9.7",
"@material-ui/icons": "^4.9.1",
"@material-ui/lab": "^4.0.0",
"react": "^16.8.0",
"react-dom": "^16.8.0",
"react-router-dom": "^4.3.1 || ^5.0.0"
},
"lint-staged": {
"*.+!(spec).(ts|tsx)": [
"eslint --plugin tsc --rule 'tsc/config: [2, {configFile: \"./tsconfig.json\"}]' --rule react-hooks/exhaustive-deps:0 --fix",
"git add"
],
"*.+spec.(ts|tsx)": [
"eslint --rule react-hooks/exhaustive-deps:0 --fix",
"git add"
],
"*.+(js|jsx|json|yml|yaml|css|less|scss|md|graphql|mdx)": [
"prettier --write",
"git add"
]
},
"main": "dist/index.js",
"module": "dist/components.esm.js",
"typings": "dist/index.d.ts",
"files": [
"dist",
"page/page-v1/constants.scss",
"page/slim-page/constants.scss",
"src/styles",
"src/common-select/common-select.scss"
],
"private": false,
"publishConfig": {
"access": "public"
},
"sideEffects": false
}