-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
83 lines (83 loc) · 2.37 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
{
"name": "@whisklabs/deep-readonly",
"version": "1.0.0",
"description": "Typescript deep-readonly",
"license": "MIT",
"author": {
"name": "Whisk",
"url": "https://developers.whisk.com/"
},
"repository": {
"type": "git",
"url": "git://github.com/whisklabs/deep-readonly.git"
},
"bugs": {
"url": "https://github.com/whisklabs/deep-readonly/issues"
},
"homepage": "https://github.com/whisklabs/deep-readonly#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 \"@(packages)/**/*.{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.0.0",
"@typescript-eslint/eslint-plugin": "3.10.1",
"@typescript-eslint/parser": "3.10.1",
"eslint": "7.7.0",
"eslint-config-prettier": "6.11.0",
"eslint-plugin-import": "2.22.0",
"eslint-plugin-jsdoc": "30.3.0",
"eslint-plugin-prefer-arrow": "1.2.2",
"eslint-plugin-prettier": "3.1.4",
"eslint-plugin-unicorn": "21.0.0",
"husky": "4.3.0",
"lint-staged": "10.3.0",
"package-lock-check": "1.1.0",
"prettier": "2.1.1",
"prettier-eslint": "11.0.0",
"typescript": "4.0.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": "package-lock-check && npm run lint",
"commit-msg": "simple-release-lint"
}
},
"prettier": {
"arrowParens": "avoid",
"printWidth": 120,
"singleQuote": true,
"trailingComma": "es5",
"tabWidth": 2,
"useTabs": false
}
}