-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
90 lines (90 loc) · 2.2 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
{
"name": "@alifd/overlay",
"version": "0.3.6",
"description": "overlay base component",
"files": [
"demo/",
"es/",
"lib/",
"build/"
],
"main": "lib/index.js",
"module": "es/index.js",
"stylePath": "style.js",
"scripts": {
"start": "build-scripts start",
"build": "build-scripts build",
"watch": "npm run build -- --watch",
"test": "build-scripts test",
"prepublishOnly": "npm run build",
"eslint": "eslint --cache --ext .js,.jsx ./",
"eslint:fix": "npm run eslint -- --fix",
"stylelint": "stylelint \"**/*.{css,scss,less}\"",
"lint": "npm run eslint && npm run stylelint"
},
"keywords": [
"ice",
"react",
"component"
],
"dependencies": {
"resize-observer-polyfill": "^1.5.1"
},
"devDependencies": {
"@alib/build-scripts": "^0.1.3",
"@alifd/next": "1.x",
"@commitlint/cli": "^8.3.6",
"@iceworks/spec": "^1.0.0",
"@types/jest": "^26.0.24",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.3",
"build-plugin-component": "^1.0.0",
"build-plugin-fusion": "^0.1.0",
"build-plugin-moment-locales": "^0.1.0",
"enzyme": "^3.10.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^9.0.0",
"husky": "^3.1.0",
"lint-staged": "^9.5.0",
"prettier": "^3.1.0",
"react": "^17.0.0",
"react-dom": "^17.0.0",
"simulate-event": "^1.4.0",
"stylelint": "^13.7.2"
},
"componentConfig": {
"name": "Overlay",
"title": "弹层",
"category": "Modal"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
},
"repository": {
"type": "git",
"url": "https://github.com/alibaba-fusion/overlay.git"
},
"license": "MIT",
"homepage": "https://unpkg.com/@alifd/[email protected]/build/index.html",
"lint-staged": {
"@(src|scripts|docs/*/demo)/**/*.@(js|jsx|ts|tsx|md)": [
"prettier --write"
],
"src/**/*.@(js|jsx|ts|tsx)": [
"eslint",
"git add"
],
"src/**/*.@(css|scss)": [
"stylelint",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}