-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
102 lines (102 loc) · 2.72 KB
/
package.json
File metadata and controls
102 lines (102 loc) · 2.72 KB
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
{
"name": "@variantjs/react",
"version": "0.0.4",
"main": "dist/index.js",
"files": [
"dist"
],
"typings": "dist/index.d.ts",
"peerDependencies": {
"@variantjs/core": "^0.0.5",
"react": "^17.0.1",
"react-dom": "^17.0.1"
},
"devDependencies": {
"@craco/craco": "^6.0.0",
"@rollup/plugin-commonjs": "^17.0.0",
"@rollup/plugin-node-resolve": "^11.1.0",
"@tailwindcss/forms": "^0.2.1",
"@tailwindcss/postcss7-compat": "^2.0.2",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
"@types/enzyme": "^3.10.8",
"@types/jest": "^26.0.15",
"@types/node": "^12.0.0",
"@types/react": "^16.9.53",
"@types/react-dom": "^16.9.8",
"@typescript-eslint/eslint-plugin": "^4.14.1",
"@variantjs/core": "^0.0.5",
"@wojtekmaj/enzyme-adapter-react-17": "^0.4.1",
"autoprefixer": "^9",
"enzyme": "^3.11.0",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.1.3",
"eslint-plugin-json": "^2.1.2",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-react": "^7.22.0",
"jest-enzyme": "^7.1.2",
"postcss": "^7",
"prettier": "^2.2.1",
"prettier-eslint": "^12.0.0",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-scripts": "4.0.1",
"release-it": "^14.2.2",
"rollup": "^2.37.0",
"rollup-plugin-delete": "^2.0.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-typescript2": "^0.29.0",
"tailwindcss": "npm:@tailwindcss/postcss7-compat",
"typescript": "^4.1.3",
"typescript-transformer-jsx-remove-data-test-id": "^1.1.0",
"web-vitals": "^0.2.4"
},
"scripts": {
"start": "craco start",
"build": "rollup -c",
"test": "craco test --watchAll=false",
"test:watch": "craco test --coverage",
"release": "release-it",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx --quiet",
"lint:fix": "eslint . --ext .js,.jsx,.ts,.tsx --fix"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"jest": {
"collectCoverageFrom": [
"!<rootDir>/node_modules/",
"!<rootDir>/src/App.tsx",
"!<rootDir>/src/index.tsx",
"!<rootDir>/src/reportWebVitals.ts",
"!<rootDir>/react-app-env.d.ts",
"!<rootDir>/src/types/*"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"release-it": {
"hooks": {
"before:init": [
"yarn lint",
"yarn test"
],
"after:bump": "yarn build"
}
}
}