-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
143 lines (143 loc) · 4.08 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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
{
"name": "@3alan/ui",
"version": "0.3.13",
"private": false,
"main": "dist/lib/index.js",
"module": "dist/es/index.js",
"types": "dist/lib/index.d.ts",
"license": "MIT",
"description": "hand drawn react components",
"author": "3Alan",
"homepage": "https://alan-ui.vercel.app/",
"repository": {
"type": "git",
"url": "https://github.com/3Alan/alan-ui"
},
"files": [
"dist"
],
"keywords": [
"react",
"components",
"ui",
"hand drawn"
],
"dependencies": {
"ahooks": "3.1.5",
"axios": "0.24.0",
"classnames": "2.3.1",
"rc-trigger": "5.2.10",
"react-icons": "4.2.0",
"rough-notation": "0.5.1",
"roughjs": "4.4.1",
"tslib": "^2.4.0"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"scripts": {
"start": "react-scripts start",
"clean": "rimraf ./dist",
"build": "yarn clean && rollup -c && yarn build:sass",
"build:sass": "sass ./src/components/style/index.scss ./dist/index.css --style compressed",
"test": "react-scripts test",
"coverage": "react-scripts test --coverage --watchAll=false",
"coverage:dev": "react-scripts test --coverage",
"test:ci": "cross-env CI=true react-scripts test --passWithNoTests",
"lint": "eslint --ext js,jsx,ts,tsx src",
"lint:fix": "eslint --ext js,jsx,ts,tsx src --fix",
"eject": "react-scripts eject",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook",
"build-storybook-static": "build-storybook -o sb_build",
"build-storybook-docs": "build-storybook --docs",
"prepublishOnly": "yarn test:ci && yarn lint && yarn build",
"prepare": "husky install"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@commitlint/cli": "^13.1.0",
"@commitlint/config-conventional": "^13.1.0",
"@rollup/plugin-commonjs": "^20.0.0",
"@rollup/plugin-node-resolve": "^13.0.4",
"@rollup/plugin-typescript": "^8.2.5",
"@storybook/addon-actions": "^6.3.7",
"@storybook/addon-essentials": "^6.3.7",
"@storybook/addon-links": "^6.3.7",
"@storybook/builder-vite": "^0.1.28",
"@storybook/node-logger": "^6.3.7",
"@storybook/react": "^6.3.7",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
"@types/jest": "^26.0.15",
"@types/node": "^12.0.0",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@typescript-eslint/eslint-plugin": "^4.30.0",
"@typescript-eslint/parser": "^4.30.0",
"babel-jest": "^27.3.1",
"coveralls": "^3.1.1",
"cross-env": "^7.0.3",
"eslint": "^7.32.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.25.1",
"eslint-plugin-react-hooks": "^4.2.0",
"husky": "^7.0.1",
"lint-staged": "^11.1.2",
"postcss": "^8.3.6",
"prettier": "^2.3.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-scripts": "4.0.3",
"rimraf": "^3.0.2",
"rollup": "^2.56.3",
"rollup-plugin-copy": "^3.4.0",
"rollup-plugin-multi-input": "^1.3.1",
"rollup-plugin-postcss": "^4.0.1",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-visualizer": "^5.5.2",
"sass": "^1.38.0",
"typescript": "~4.3.5",
"vite": "^2.9.1"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"yarn lint",
"yarn test:ci"
]
},
"jest": {
"transform": {
"^.+\\.[t|j]sx?$": "babel-jest"
},
"transformIgnorePatterns": [
"node_modules/(?!@roughjs)/"
],
"collectCoverageFrom": [
"src/**/*.{ts,tsx}",
"!src/**/*.stories.*",
"!src/utils/**",
"!src/components/style/**",
"!src/components/rough/**",
"!src/roughOptions/**",
"!src/components/config-provider/**"
]
}
}