-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
80 lines (80 loc) · 3.43 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
{
"name": "typroof",
"version": "0.3.5",
"private": true,
"description": "🚀 Revolutionize your TS type testing with a fast, smooth, and flexible WYSIWYG experience!",
"keywords": [
"typescript",
"typroof",
"test",
"check",
"static analysis"
],
"homepage": "https://github.com/Snowflyt/typroof",
"bugs": {
"url": "https://github.com/Snowflyt/typroof/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/Snowflyt/typroof"
},
"license": "MIT",
"author": "Snowflyt <[email protected]>",
"type": "module",
"main": "./index.js",
"module": "./index.js",
"types": "./index.d.ts",
"bin": {
"typroof": "./cli.js"
},
"scripts": {
"prebuild": "npm run clean",
"build": "tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json && rimraf -g \"dist/tools/**/*.{js,d.ts.map}\" && replace-in-file \"/^\\/\\/# sourceMappingURL=.+$/mg\" \"\" \"dist/tools/**/*.d.ts\" --isRegex && replace-in-file \"/^\\s*\\/\\/ eslint-disable-next-line .+$/mg\" \"\" \"dist/**/*.js\" --isRegex && prettier --log-level=silent --print-width 80 --write \"dist/**/*.{js,d.ts}\" --ignore-path !dist && cpy package.json dist && json -I -f dist/package.json -e \"delete this.private; delete this.scripts; delete this.devDependencies\" && cpy LICENSE dist && cpy README.md dist && node -e \"import { replaceInFileSync } from 'replace-in-file'; import packageJSON from './dist/package.json' with { type: 'json' }; ['docs/screenshot.png'].forEach((path) => replaceInFileSync({ files: 'dist/README.md', from: path, to: 'https://github.com/Snowflyt/typroof/blob/v' + packageJSON['version'] + '/' + path }))\"",
"clean": "rimraf dist",
"format": "prettier --no-error-on-unmatched-pattern --write {src,test}/**/*.{js,ts,json} *.{js,cjs,mjs,ts,cts,mts,json,md}",
"lint": "eslint {src,test}/**/*.{js,ts} *.{js,cjs,mjs,ts,cts,mts} --no-error-on-unmatched-pattern --report-unused-disable-directives-severity error --max-warnings 0",
"lint:fix": "eslint --fix {src,test}/**/*.{js,ts} *.{js,cjs,mjs,ts,cts,mts} --no-error-on-unmatched-pattern --report-unused-disable-directives-severity error --max-warnings 0",
"prepare": "husky",
"test": "vitest run",
"test-types": "tsx src/cli.ts",
"test:cov": "vitest run --coverage",
"test:ui": "vitest --ui --coverage.enabled=true",
"test:watch": "vitest",
"test:watch-cov": "vitest --coverage"
},
"dependencies": {
"esbuild": "^0.24.2",
"get-tsconfig": "^4.8.1",
"meow": "^13.2.0",
"ts-morph": "^24.0.0"
},
"devDependencies": {
"@commitlint/cli": "^19.6.1",
"@types/eslint": "^8.56.12",
"@types/lint-staged": "^13.3.0",
"@types/node": "^22.10.2",
"@typescript-eslint/eslint-plugin": "^8.18.1",
"@typescript-eslint/parser": "^8.18.1",
"@vitest/coverage-v8": "^2.1.8",
"@vitest/ui": "^2.1.8",
"cpy-cli": "^5.0.0",
"eslint": "^8.57.1",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.7.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-sonarjs": "^0.25.1",
"eslint-plugin-sort-destructure-keys": "^2.0.0",
"husky": "^9.1.7",
"json": "^11.0.0",
"lint-staged": "^15.2.11",
"prettier": "^3.4.2",
"prettier-plugin-packagejson": "^2.5.6",
"replace-in-file": "^8.3.0",
"rimraf": "^6.0.1",
"tsc-alias": "^1.8.10",
"tsx": "^4.19.2",
"typescript": "^5.7.2",
"vitest": "^2.1.8"
}
}