-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
62 lines (62 loc) · 1.98 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
{
"name": "@jakesidsmith/tsassert",
"version": "0.3.2",
"description": "Check TypeScript types against assertion comments",
"publishConfig": {
"access": "public"
},
"bin": {
"tsassert": "dist/cli.js"
},
"main": "dist/index.js",
"scripts": {
"dist": "rm -rf dist && tsc --project tsconfig.dist.json && chmod +x dist/cli.js",
"prettier": "prettier --write '**/*.{ts,tsx,js,jsx,json}'",
"prettier-check": "prettier --check '**/*.{ts,tsx,js,jsx,json}'",
"lint-js": "eslint '**/*.{ts,tsx,js,jsx}'",
"typecheck": "tsc --project tsconfig.json --noEmit",
"lint": "npm run prettier-check && npm run typecheck && npm run lint-js",
"tests": "./dist/cli.js assertions/pass.ts --verbose && if ./dist/cli.js assertions/fail.ts --verbose; then echo 'Failing tests passed' && exit 1; else echo 'All tests successfully passed or failed'; fi && ./dist/cli.js --project tsconfig.excludes.json --verbose && echo 'Failing files were successfully excluded'",
"test": "npm run lint && npm run dist && npm run tests",
"prepublishOnly": "npm test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/jakesidsmith/tsassert.git"
},
"keywords": [
"typescript",
"assert",
"assertions",
"type",
"types",
"check",
"checking"
],
"author": "Jake 'Sid' Smith",
"license": "MIT",
"bugs": {
"url": "https://github.com/jakesidsmith/tsassert/issues"
},
"homepage": "https://github.com/jakesidsmith/tsassert#readme",
"dependencies": {
"chalk": "^3.0.0",
"diff": "^4.0.2",
"globule": "^1.3.0",
"jargs": "^0.4.1"
},
"devDependencies": {
"@types/diff": "^4.0.2",
"@types/globule": "^1.1.3",
"@typescript-eslint/eslint-plugin": "^5.30.5",
"@typescript-eslint/parser": "^5.30.5",
"eslint": "^8.19.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"prettier": "^2.7.1",
"typescript": "^4.7.4"
},
"peerDependencies": {
"typescript": "3 || 4"
}
}