Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
82 lines (82 loc) · 2.29 KB
/
Copy pathpackage.json
File metadata and controls
82 lines (82 loc) · 2.29 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{
"name": "@whisklabs/typeguards",
"version": "1.0.2",
"description": "Typescript typeguards",
"license": "MIT",
"author": {
"name": "Whisk",
"url": "https://developers.whisk.com/"
},
"repository": {
"type": "git",
"url": "git://github.com/whisklabs/typeguards.git"
},
"bugs": {
"url": "https://github.com/whisklabs/typeguards/issues"
},
"homepage": "https://github.com/whisklabs/typeguards#readme",
"publishConfig": {
"access": "public"
},
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"files": [
"dist"
],
"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:fix": "npm run eslint:fix && npm run lint:prettier",
"eslint": "eslint '**/*.{js,ts,tsx}'",
"eslint:fix": "npm run eslint -- --fix",
"lint": "npm run eslint",
"release": "simple-release"
},
"devDependencies": {
"@askuzminov/simple-release": "1.2.0",
"@typescript-eslint/eslint-plugin": "6.7.2",
"@typescript-eslint/parser": "6.7.2",
"eslint": "8.49.0",
"eslint-config-prettier": "9.0.0",
"eslint-plugin-import": "2.28.1",
"eslint-plugin-jsdoc": "46.8.1",
"eslint-plugin-prefer-arrow": "1.2.3",
"eslint-plugin-prettier": "5.0.0",
"eslint-plugin-unicorn": "48.0.1",
"husky": "4.3.8",
"lint-staged": "14.0.1",
"prettier": "3.0.3",
"prettier-eslint": "15.0.1",
"typescript": "5.2.2"
},
"lint-staged": {
"*.{ts,tsx}": [
"eslint --fix",
"prettier --write"
],
"*.{js,json,md,html,yml}": [
"prettier --write"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && npm run check-types",
"pre-push": "npm run lint",
"commit-msg": "simple-release-lint"
}
},
"prettier": {
"arrowParens": "avoid",
"printWidth": 120,
"singleQuote": true,
"trailingComma": "es5",
"tabWidth": 2,
"useTabs": false
}
}