-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
57 lines (57 loc) · 1.65 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
{
"name": "ts-code-contracts",
"version": "1.0.0",
"description": "Design by contract with TypeScript.",
"main": "index.js",
"types": "index.d.ts",
"scripts": {
"// TESTS": "tsd needs the index.d.ts file from the build but index.js breaks the test coverage for jest",
"pretest": "npm run build && rimraf index.js",
"test": "jest && tsd",
"build": "tsc -p tsconfig.json",
"lint": "eslint --fix index.ts",
"prettier": "npx prettier --write **/*.{ts,html,scss,json,js,json,md,yaml} --ignore-path .gitignore",
"release": "npx standard-version",
"prepare": "husky install"
},
"files": [
"CHANGELOG.md",
"index.d.ts"
],
"repository": {
"type": "git",
"url": "git+https://github.com/JanMalch/ts-code-contracts.git"
},
"keywords": [
"Contracts",
"Code Contracts",
"Code Quality",
"TypeScript"
],
"author": "JanMalch",
"license": "MIT",
"bugs": {
"url": "https://github.com/JanMalch/ts-code-contracts/issues"
},
"homepage": "https://github.com/JanMalch/ts-code-contracts#readme",
"devDependencies": {
"@commitlint/cli": "^18.4.4",
"@commitlint/config-conventional": "^18.4.4",
"@types/jest": "^29.5.11",
"@typescript-eslint/eslint-plugin": "^6.19.0",
"@typescript-eslint/parser": "^6.19.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^5.1.3",
"husky": "^8.0.3",
"jest": "^29.7.0",
"lint-staged": "^15.2.0",
"prettier": "^3.2.4",
"rimraf": "^5.0.5",
"standard-version": "^9.5.0",
"ts-jest": "^29.1.1",
"tsd": "^0.30.4",
"typescript": "^5.3.3"
}
}