-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
96 lines (96 loc) · 2.99 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
{
"name": "@askuzminov/simple-release",
"version": "1.2.0",
"description": "",
"author": {
"name": "Kuzminov Alexander",
"url": "https://github.com/askuzminov"
},
"contributors": [
{
"name": "Kuzminov Alexander",
"url": "https://github.com/askuzminov",
"email": "askuzminov@gmail.com"
}
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/askuzminov/simple-release.git"
},
"publishConfig": {
"access": "public"
},
"bugs": {
"url": "https://github.com/askuzminov/simple-release/issues"
},
"homepage": "https://github.com/askuzminov/simple-release#readme",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"bin": {
"simple-release": "./dist/cjs/index.js",
"simple-release-lint": "./dist/cjs/lint.js"
},
"files": [
"dist"
],
"engines": {
"node": ">=10"
},
"scripts": {
"check-types": "tsc --noEmit",
"check-types:watch": "npm run check-types -- --watch",
"build:cjs": "tsc",
"build:esm": "tsc --module es2015 --outDir ./dist/esm/",
"build:types": "tsc --outDir ./dist/types/ --declaration --emitDeclarationOnly",
"build": "npm run build:cjs && npm run build:esm && npm run build:types",
"lint:prettier": "prettier --write \"@(src)/**/*.{ts,tsx,js,json,css,md,html,yml}\"",
"lint": "eslint --cache --cache-location \".cache/eslint\" '**/*.{js,ts,tsx}'",
"lint:fix": "npm run lint -- --fix",
"release": "node ./dist/cjs/index.js --file src --file package.json",
"lint-staged": "lint-staged",
"dev:no-git": "ts-node -T src disable-git disable-github --file src --file package.json",
"dev:no-push": "ts-node -T src disable-push disable-github --file src --file package.json",
"dev:current-version": "ts-node -T src --mode current-version --file src prerelease=next",
"dev:next-version": "ts-node -T src --mode next-version --file src prerelease=next",
"dev:has-changes": "ts-node -T src --mode has-changes --file src prerelease=next",
"prepare": "if test \"$CI\" != \"true\" ; then husky install ; fi"
},
"devDependencies": {
"@types/node": "^18.16.3",
"@typescript-eslint/eslint-plugin": "^5.59.1",
"@typescript-eslint/parser": "^5.59.1",
"eslint": "^8.39.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-prefer-arrow": "^1.2.3",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-unicorn": "^46.0.0",
"husky": "^8.0.3",
"lint-staged": "^13.2.2",
"prettier": "~2.8.8",
"ts-node": "^10.9.1",
"typescript": "~5.0.4"
},
"lint-staged": {
"*.{ts,tsx}": [
"eslint --fix",
"prettier --write"
],
"*.{css,less,sass}": [
"prettier --write"
],
"*.{js,json,md,html,yml}": [
"prettier --write"
]
},
"prettier": {
"arrowParens": "avoid",
"printWidth": 120,
"singleQuote": true,
"trailingComma": "es5",
"tabWidth": 2,
"useTabs": false
}
}