-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
87 lines (87 loc) · 2.36 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
{
"name": "horizon",
"private": true,
"scripts": {
"bundle:stats": "./bin/webpack --profile --progress --json > ./webpack-bundle-stats.json",
"bundle:analysis": "webpack-bundle-analyzer ./webpack-bundle-stats.json ./public/packs",
"lint": "eslint ./app --ext ts,tsx,js,jsx --fix",
"prettier": "prettier --check 'app/**/*.(ts|tsx|js|jsx)'",
"prettier-write": "prettier --write 'app/**/*.(ts|tsx|js|jsx)'",
"test": "jest",
"test-watch": "jest --watch",
"type-check": "tsc --noEmit --pretty"
},
"engines": {
"node": "^14.0.0"
},
"dependencies": {
"@artsy/palette": "14.34.0",
"@rails/actioncable": "6.0.3-1",
"@rails/activestorage": "6.0.3-1",
"@rails/ujs": "6.0.3-1",
"@rails/webpacker": "5.4.3",
"husky": "4.3.8",
"react": "16.13.1",
"react-dom": "16.13.1",
"styled-components": "4.4.1"
},
"devDependencies": {
"@babel/core": "7.10.2",
"@babel/plugin-transform-runtime": "7.16.4",
"@babel/preset-env": "7.16.4",
"@babel/preset-react": "7.10.1",
"@babel/preset-typescript": "7.10.1",
"@types/actioncable": "5.2.3",
"@types/jest": "26.0.0",
"@types/react": "16.9.35",
"@types/react-dom": "16.9.8",
"@types/styled-components": "4.4.3",
"@types/webpack-env": "1.15.2",
"@typescript-eslint/eslint-plugin": "3.1.0",
"@typescript-eslint/parser": "3.1.0",
"babel-loader": "8.2.3",
"babel-plugin-transform-react-remove-prop-types": "0.4.24",
"enzyme": "3.11.0",
"enzyme-adapter-react-16": "1.15.2",
"eslint": "7.1.0",
"eslint-config-prettier": "6.11.0",
"eslint-plugin-import": "2.20.2",
"eslint-plugin-react": "7.20.0",
"jest": "26.0.1",
"lint-staged": "10.2.9",
"prettier": "2.0.5",
"typescript": "4.6.4",
"webpack": "4.46.0",
"webpack-bundle-analyzer": "4.5.0",
"webpack-dev-server": "4.6.0"
},
"jest": {
"setupFiles": [
"<rootDir>/test.config.js"
],
"roots": [
"<rootDir>/app/javascript"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "yarn type-check"
}
},
"lint-staged": {
"*.@(ts|tsx|js|jsx)": [
"yarn lint",
"yarn prettier-write"
]
},
"prettier": {
"semi": false,
"singleQuote": false,
"trailingComma": "all",
"bracketSpacing": true
},
"resolutions": {
"glob-parent": "^6.0.1"
}
}