-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
67 lines (67 loc) · 2.25 KB
/
package.json
File metadata and controls
67 lines (67 loc) · 2.25 KB
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
{
"name": "@technote-space/ts-package-template",
"version": "0.3.4",
"description": "Template for npm package.",
"keywords": [
"template"
],
"homepage": "https://github.com/technote-space/ts-package-template",
"bugs": {
"url": "https://github.com/technote-space/ts-package-template/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/technote-space/ts-package-template.git"
},
"license": "MIT",
"author": {
"name": "Technote",
"email": "technote.space@gmail.com",
"url": "https://technote.space"
},
"type": "module",
"exports": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
},
"main": "dist/index.mjs",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "tsc --emitDeclarationOnly && rollup -c",
"cover": "vitest run --coverage",
"postinstall": "[ -n \"$CI\" ] || [ ! -f node_modules/.bin/husky ] || husky install",
"lint": "eslint 'src/**/*.ts' --cache",
"lint:fix": "eslint --fix 'src/**/*.ts'",
"prepublishOnly": "[ -n \"$CI\" ] || [ ! -f node_modules/.bin/pinst ] || pinst --disable",
"postpublish": "[ -n \"$CI\" ] || [ ! -f node_modules/.bin/pinst ] || pinst --enable",
"setup": "if [[ $(uname -s) == 'Darwin' ]]; then BASH_ENV=~/.bashrc bash -O expand_aliases bin/setup.sh; else bash bin/setup.sh; fi && if [[ -f __DELETE__ ]]; then rm -rdf bin __DELETE__; fi",
"test": "yarn lint && yarn typecheck && yarn cover",
"typecheck": "tsc --noEmit",
"update": "npm_config_yes=true npx npm-check-updates -u --timeout 100000 && yarn install && yarn upgrade && yarn audit"
},
"dependencies": {},
"devDependencies": {
"@commitlint/cli": "^17.6.1",
"@commitlint/config-conventional": "^17.6.1",
"@rollup/plugin-typescript": "^11.1.0",
"@sindresorhus/tsconfig": "^3.0.1",
"@types/node": "^18.16.3",
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^5.59.2",
"@vitest/coverage-c8": "^0.30.1",
"eslint": "^8.39.0",
"eslint-plugin-import": "^2.27.5",
"husky": "^8.0.3",
"lint-staged": "^13.2.2",
"pinst": "^3.0.0",
"rollup": "^3.21.3",
"typescript": "^5.0.4",
"vitest": "^0.30.1"
},
"publishConfig": {
"access": "public"
}
}