-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
59 lines (59 loc) · 1.38 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
{
"name": "literal-case",
"version": "1.0.0",
"description": "A TypeScript library for word case conversions, using Template Literal Types(TS >= 4.1).",
"keywords": [
"typescript",
"template literal type",
"typesafe",
"camel-case",
"pascal-case",
"snake-case",
"constant-case"
],
"repository": "https://github.com/MadonoHaru/literal-case.git",
"license": "MIT",
"author": "まどの <madonoharu@gmail.com>",
"main": "cjs/index.js",
"module": "esm/index.js",
"files": [
"cjs",
"esm",
"package.json",
"README.md",
"LICENSE"
],
"scripts": {
"build": "yarn build:cjs & yarn build:esm",
"build:cjs": "tsc -p ./tsconfig.build.json -m commonjs --outDir cjs",
"build:esm": "tsc -p ./tsconfig.build.json -m esnext --outDir esm",
"test": "jest"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,ts}": [
"prettier --write",
"eslint --fix"
]
},
"jest": {
"preset": "ts-jest"
},
"devDependencies": {
"@types/jest": "^26.0.20",
"@typescript-eslint/eslint-plugin": "^4.14.1",
"@typescript-eslint/parser": "^4.14.1",
"eslint": "^7.18.0",
"eslint-config-prettier": "^7.2.0",
"husky": "^4.3.8",
"jest": "^26.6.3",
"lint-staged": "^10.5.3",
"prettier": "^2.2.1",
"ts-jest": "^26.4.4",
"typescript": "^4.1.3"
}
}