-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
67 lines (67 loc) · 1.82 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
{
"name": "convconv",
"version": "0.3.8",
"description": "Naming Conventions Converter",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"bin": "./dist/cli.js",
"man": [
"./man/convconv.1"
],
"scripts": {
"format": "npx prettier --write '**/*.ts'",
"clean": "rm -rf dist",
"test": "jest",
"test:clean": "npm run clean && npm run test",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"build": "npm run build:version && npm run build:man && tsc",
"build:version": "echo \"export function getVersion() { return {{VERSION}}; }\" | sed \"s/{{VERSION}}/$(cat package.json | jq .version)/\" > version.ts",
"build:clean": "npm run clean && npm run build",
"build:man": "cat man/convconv.roff | sed \"s/{{VERSION}}/$(cat package.json | jq .version -r)/\" > man/convconv.1",
"prepublishOnly": "npm run test:clean && npm run build:clean"
},
"repository": {
"type": "git",
"url": "git+https://github.com/thekhanj/convconv.git"
},
"author": "Pooyan Khanjankhani <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/thekhanj/convconv/issues"
},
"keywords": [
"naming-convention",
"naming-conventions"
],
"files": [
"dist/*.d.ts",
"dist/*.js",
"dist/adapters/*.d.ts",
"dist/adapters/*.js",
"man/convconv.1"
],
"homepage": "https://github.com/thekhanj/convconv#readme",
"devDependencies": {
"@types/jest": "^29.5.5",
"jest": "^29.7.0",
"ts-jest": "^29.1.1"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": ".",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "coverage",
"testEnvironment": "node"
}
}