-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
103 lines (103 loc) · 2.56 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
{
"name": "@mirawayltd/ts-utils",
"version": "0.0.2",
"description": "Common utils",
"main": "dist/index.umd.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"bugs": {
"url": "https://github.com/hale249/halv-utils/issues"
},
"homepage": "https://github.com/hale249/halv-utils/tree/master#readme",
"scripts": {
"clean": "rimraf dist* coverage",
"format": "eslint --fix --ext .js,.jsx .",
"type": "tsc --outdir dist",
"pre-commit": "lint-staged",
"huskyinstall": "husky install",
"prettier": "prettier --write \"**/*.{ts,js,json,md}\"",
"build:library": "yarn clean && vite build --config config/library.ts && yarn type",
"release": "yarn build:library && yarn publish --access public"
},
"keywords": [
"utils",
"logger",
"promise",
"typescript",
"js"
],
"repository": {
"url": "git+https://github.com/hale249/halv-utils.git",
"type": "git"
},
"files": [
"dist",
"*.md"
],
"author": "hale249 <lehatybg1@gmail.com>",
"license": "ISC",
"devDependencies": {
"@commitlint/cli": "^17.3.0",
"@commitlint/config-conventional": "^17.3.0",
"@types/isomorphic-fetch": "^0.0.36",
"@typescript-eslint/eslint-plugin": "^5.47.0",
"@typescript-eslint/parser": "^5.47.0",
"devmoji": "^2.3.0",
"eslint": "^8.30.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.2",
"lint-staged": "^13.1.0",
"prettier": "^2.8.1",
"rimraf": "^3.0.2",
"typescript": "^4.9.4",
"vite": "^4.0.3",
"vitest": "^0.26.2"
},
"prettier": {
"arrowParens": "avoid",
"bracketSpacing": true,
"htmlWhitespaceSensitivity": "ignore",
"insertPragma": false,
"jsxSingleQuote": false,
"printWidth": 120,
"proseWrap": "preserve",
"quoteProps": "as-needed",
"requirePragma": false,
"semi": true,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "all",
"useTabs": false
},
"eslintConfig": {
"root": true,
"env": {
"browser": true,
"node": true
},
"plugins": [
"prettier"
],
"extends": [
"prettier"
],
"rules": {
"no-console": "off",
"@typescript-eslint/no-use-before-define": "off",
"prettier/prettier": "error",
"import/export": "off",
"antfu/if-newline": "off"
}
},
"dependencies": {
"isomorphic-fetch": "^3.0.0",
"universal-cookie": "^4.0.4"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}