generated from koumatsumoto/npm-package-template-2023
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
82 lines (82 loc) · 2.17 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
{
"name": "@koumatsumoto/slack-post-message-api",
"version": "1.5.1",
"description": "The project template to create new npm package using GitHub Packages registry",
"author": "Kou Matsumoto",
"repository": {
"type": "git",
"url": "git+https://github.com/koumatsumoto/slack-post-message-api.git"
},
"homepage": "https://github.com/koumatsumoto/slack-post-message-api#readme",
"bugs": {
"url": "https://github.com/koumatsumoto/slack-post-message-api/issues"
},
"engines": {
"node": ">=20.0.0",
"npm": ">=9.6.0"
},
"type": "module",
"main": "./dist/index.js",
"module": "./dist/index.js",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.umd.cjs"
}
},
"types": "./dist/index.d.ts",
"files": [
"/dist"
],
"publishConfig": {
"registry": "https://npm.pkg.github.com/@koumatsumoto"
},
"scripts": {
"build": "tsc && vite build",
"format": "prettier --write --ignore-path .gitignore .",
"lint": "prettier --check --ignore-path .gitignore .",
"test": "vitest run",
"NOTE: `|| true` is used to resolve errors at npm publish": "ignore command errors to the bug of https://github.com/npm/cli/issues/3707",
"prepare": "husky install || true"
},
"keywords": [],
"license": "Apache License",
"devDependencies": {
"@commitlint/cli": "^17.6.6",
"@commitlint/config-conventional": "^17.6.6",
"@rollup/plugin-typescript": "^11.1.2",
"@trivago/prettier-plugin-sort-imports": "^4.1.1",
"@tsconfig/strictest": "^2.0.1",
"@types/node": "^20.4.2",
"dotenv": "^16.3.1",
"husky": "^8.0.3",
"lint-staged": "^13.2.3",
"msw": "^1.2.2",
"prettier": "^2.8.8",
"typescript": "^5.1.6",
"vite": "^4.4.4",
"vitest": "^0.33.0"
},
"prettier": {
"printWidth": 120,
"trailingComma": "all",
"importOrder": [
"^[./]"
],
"importOrderCaseInsensitive": true
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"*.{ts,tsx,html,css,scss,json,yml,yaml,md}": [
"prettier --write"
],
"*.{ts,tsx}": [
"bash -c tsc",
"vitest related --run"
]
}
}