forked from brave-intl/publishers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
121 lines (121 loc) · 3.55 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
{
"scripts": {
"start": "NODE_ENV=test karma start",
"lint": "yarn run lint-scss && yarn run lint-js-css && yarn run lint-ts",
"lint-scss": "stylelint --config '.stylelintrc-scss.json' 'app/**/*.scss' --syntax scss",
"lint-js-css": "stylelint --config '.stylelintrc-jsx.json' 'app/**/*.{ts,tsx}'",
"lint-ts": "tslint --project tsconfig.json 'app/javascript/**/*.{ts,tsx}'",
"prettier": "prettier --check 'app/javascript/**/*.{ts,tsx}'",
"test": "jest"
},
"husky": {
"hooks": {
"pre-commit": "./pre-commit.sh"
}
},
"jest": {
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"moduleFileExtensions": [
"ts",
"tsx",
"jsx",
"js",
"json"
],
"globals": {
"ts-jest": {
"babelConfig": true,
"tsConfig": "tsconfig-jest.json",
"isolatedModules": true
}
},
"resetMocks": true,
"resetModules": true,
"collectCoverage": false,
"collectCoverageFrom": [
"src/**/*.tsx",
"!src/**/index.ts"
],
"testMatch": [
"<rootDir>/app/javascript/**/*.test.jsx"
],
"testPathIgnorePatterns": [
"<rootDir>/node_modules/"
],
"setupFilesAfterEnv": [
"<rootDir>/app/javascript/testSetup.js"
],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|svg|ttf|woff|woff2)$": "<rootDir>/.testconfig/fileMocks.ts",
"\\.(css)$": "identity-obj-proxy"
},
"preset": "ts-jest/presets/js-with-babel"
},
"dependencies": {
"@babel/core": "^7.8.7",
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@babel/preset-env": "^7.2.3",
"@babel/preset-react": "^7.0.0",
"@rails/activestorage": "^6.0.3-1",
"@rails/ujs": "^6.0.3-1",
"@rails/webpacker": "^5.3.0",
"@types/react": "^16.4.7",
"@types/react-dom": "^16.0.6",
"axios": "^0.21.1",
"babel-core": "7.0.0-bridge.0",
"babel-loader": "^8.1.0",
"babel-plugin-syntax-dynamic-import": "^6.18.0",
"babel-plugin-transform-object-rest-spread": "^7.0.0-beta.3",
"babel-polyfill": "^6.26.0",
"babel-preset-react": "^6.24.1",
"brave-ui": "^0.38.0",
"chart.js": "^2.7.2",
"clipboard": "^2.0.1",
"is-accessor-descriptor": "3.0.1",
"js-yaml": "3.13.1",
"kind-of": "^6.0.3",
"moment": "^2.25.0",
"node-sass": "^4.14.1",
"prop-types": "^15.6.2",
"react": "^16.6.3",
"react-avatar-editor": "^11.0.4",
"react-dom": "^16.6.3",
"react-intl": "^3.3.2",
"react-select": "^3.0.8",
"react-tooltip": "^4.2.3",
"styled-components": "5.1.0",
"tributejs": "^3.7.1",
"ts-loader": "^5.3.0",
"typescript": "^3.1.6",
"webpack-cli": "^3.3.11"
},
"devDependencies": {
"@types/jest": "^24.0.6",
"@types/styled-components": "^5.1.0",
"autoprefixer": "^9.4.3",
"babel-plugin-styled-components": "^1.10.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"cssnano": "^5.0.2",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"enzyme-to-json": "^3.3.4",
"hoek": "^6.0.1",
"husky": "^1.3.1",
"jest-styled-components": "^7.0.2",
"prettier": "1.16.3",
"stylelint": "^13.3.0",
"stylelint-config-recommended-scss": "^4.2.0",
"stylelint-config-styled-components": "^0.1.1",
"stylelint-processor-styled-components": "^1.10.0",
"stylelint-scss": "^3.16.0",
"sugarss": "^2.0.0",
"ts-jest": "^25.0.0",
"tslint": "^5.14.0",
"tslint-config-prettier": "^1.18.0",
"tslint-config-standard": "^8.0.1",
"tslint-react": "^3.6.0",
"webpack-dev-server": "^3.11.0"
}
}