This repository has been archived by the owner on Jun 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
72 lines (72 loc) 路 1.79 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
{
"name": "oinit",
"version": "0.3.0",
"description": "Init a target by promise only once.",
"repository": "git@github.com:darkXmo/oinit.git",
"author": "Xmo <18851989097@163.com>",
"keywords": [
"front-end",
"xmon",
"xmo",
"init",
"once-init",
"oinit",
"promise"
],
"homepage": "https://github.com/darkXmo/oinit",
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.0.0-0",
"@babel/preset-env": "^7.15.6",
"@babel/preset-typescript": "^7.15.0",
"@commitlint/cli": "^13.1.0",
"@commitlint/config-conventional": "^13.1.0",
"cz-conventional-changelog": "^3.3.0",
"git-cz": "^4.8.0",
"husky": "^7.0.0",
"lint-staged": "^11.1.2",
"microbundle": "^0.14.2",
"prettier": "2.4.1",
"rimraf": "^3.0.2",
"typescript": "^4.4.3"
},
"lint-staged": {
"src/**/*.vue": [
"prettier --write --ignore-unknown"
],
"src/**/*.js": [
"prettier --write --ignore-unknown"
],
"src/**/*.ts": [
"prettier --write --ignore-unknown"
],
"*.{js,ts,css,md}": "prettier --write --ignore-unknown"
},
"module": "dist/oinit.mjs",
"main": "dist/oinit.js",
"jsnext:main": "dist/oinit.mjs",
"umd:main": "dist/oinit.umd.js",
"source": "src/index.ts",
"typings": "index.d.ts",
"exports": {
"import": "./dist/oinit.mjs",
"require": "./dist/oinit.js",
"default": "./dist/oinit.mjs"
},
"files": [
"dist",
"index.d.ts"
],
"scripts": {
"commit": "git add . && git status && git-cz",
"prepare": "husky install",
"bundle": "microbundle -f es,cjs,umd",
"build": "rimraf dist && npm run bundle",
"clean": "rm -rf dist pnpm* yarn.* node_modules package-*"
},
"config": {
"commitizen": {
"path": "node_modules/cz-conventional-changelog"
}
}
}