-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
63 lines (63 loc) · 1.76 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
{
"name": "formini",
"version": "0.0.0-beta.15",
"description": "mini form core with vanilla js",
"main": "dist/index.js",
"unpkg": "dist/index.umd.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"sideEffects": false,
"scripts": {
"dev": "dumi dev",
"start": "dumi dev",
"build": "npm run clean:build && father-build",
"build:doc": "npm run build && dumi build",
"format": "prettier --write \"./**/*.{js,ts,jsx,tsx,json,css,scss,sass,less,html}\"",
"clean:build": "rimraf dist",
"release": "npm run release:beta",
"release:latest": "npm run build && np --no-cleanup --yolo --no-publish --tag=latest && npm publish --registry https://registry.npmjs.org",
"release:beta": "npm run build && np --no-cleanup --yolo --no-publish --tag=beta && npm publish --registry https://registry.npmjs.org"
},
"homepage": "https://github.com/CJY0208/formini",
"repository": {
"type": "git",
"url": "https://github.com/CJY0208/formini.git"
},
"author": "CJY0208",
"license": "ISC",
"devDependencies": {
"@commitlint/cli": "^12.0.1",
"@commitlint/config-conventional": "^12.0.1",
"dumi": "^1.1.10",
"eslint": "^7.23.0",
"father-build": "^1.19.2",
"husky": "^4.x",
"lint-staged": "^10.5.4",
"np": "^7.4.0",
"prettier": "^2.2.1",
"rimraf": "^3.0.2"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"**/*.{js,ts,jsx,tsx,json,css,scss,sass,less,html,md}": [
"prettier --write"
]
},
"eslintConfig": {
"extends": "eslint:recommended"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
],
"rules": {}
}
}