-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
74 lines (74 loc) · 2.26 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
{
"name": "@kne/react-function-select",
"version": "0.1.0",
"description": "行业选择器",
"main": "dist/index.js",
"module": "dist/index.modern.js",
"source": "src/index.js",
"scripts": {
"init": "npm install && cd example && npm install --legacy-peer-deps",
"start": "run-p start:lib start:md start:example",
"build": "run-s build:lib build:md build:example",
"build:lib": "microbundle --no-compress --format modern,cjs --jsx React.createElement --jsxFragment React.Fragment",
"build:md": "create-md",
"start:md": "create-md --watch",
"start:lib": "microbundle watch --no-compress --format modern,cjs --jsx React.createElement --jsxFragment React.Fragment",
"test": "run-s test:unit test:lint test:build",
"test:build": "run-s build",
"test:lint": "eslint .",
"test:unit": "cross-env CI=1 react-scripts test --env=jsdom",
"test:watch": "react-scripts test --env=jsdom",
"build:example": "cd example && npm run build",
"start:example": "cd example && npm run start",
"deploy": "gh-pages -d example/build",
"prettier": "prettier --config .prettierrc --write 'src/**/*.{js,jsx,ts,tsx,json,css,scss,md}'"
},
"repository": {
"type": "git",
"url": "git+https://github.com/kne-union/react-function-select.git"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
"prettier --config .prettierrc --write",
"git add"
]
},
"files": [
"dist"
],
"author": "linzp",
"license": "ISC",
"bugs": {
"url": "https://github.com/kne-union/react-function-select/issues"
},
"homepage": "https://github.com/kne-union/react-function-select#readme",
"peerDependencies": {
"antd": "4.x",
"prop-types": ">=15.x",
"react": ">=16.x",
"react-dom": ">=16.x"
},
"devDependencies": {
"@kne/md-doc": "^0.1.6",
"antd": "^4.18.9",
"cross-env": "^7.0.3",
"gh-pages": "^3.2.3",
"husky": "^7.0.4",
"microbundle": "^0.14.2",
"node-sass": "^7.0.1",
"npm-run-all": "^4.1.5",
"prettier": "^2.5.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-scripts": "^5.0.1"
},
"dependencies": {
"@kne/antd-enhance": "^0.1.10",
"classnames": "^2.3.1"
}
}