-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
61 lines (61 loc) · 2.46 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
{
"name": "magic-ts",
"version": "0.0.7",
"description": "Typescript types so good they're magic!",
"main": "./index.js",
"types": "./index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/Liam-Scott-Russell/magic-ts.git"
},
"author": "Liam Scott-Russell",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/Liam-Scott-Russell/magic-ts/issues"
},
"homepage": "https://github.com/Liam-Scott-Russell/magic-ts#readme",
"scripts": {
"pretest": "npm run doctest:generate",
"test": "jest",
"posttest": "npm run doctest:clean",
"doctest:generate": "tsdoc-testify --fileMatch 'lib/**/*.ts'",
"postdoctest:generate": "./scripts/doctest-names.sh && echo 'Generated doctests for magic-ts!'",
"predoctest:cleanup": "echo 'About to delete the following doctests:' && ./scripts/doctest-names.sh",
"doctest:cleanup": "./scripts/doctest-cleanup.sh",
"postdoctest:cleanup": "./scripts/doctest-count.sh && echo 'Cleaned up doctests for magic-ts!'",
"doctest:names": "./scripts/doctest-names.sh",
"doctest:count": "./scripts/doctest-count.sh",
"_prettier": "prettier",
"_eslint": "eslint",
"lint": "prettier --check . && eslint .",
"postlint": "echo 'Linted magic-ts!'",
"format": "prettier --write . && eslint --fix .",
"postformat": "echo 'Formatted magic-ts!'",
"prebuild": "rm -rf ./dist npm run doctest:cleanup && npm run barrel && npm run format",
"build": "tsc -p tsconfig.build.json",
"postbuild": "cp package.json dist && echo 'Built magic-ts!'",
"predependency:check": "npm run prebuild",
"dependency:check": "madge --circular --warning --extensions ts --ts-config ./tsconfig.build.json .",
"postdependency:check": "echo 'Checked the dependencies of magic-ts!'",
"barrel": "barrelsby --config=./barrelsby.config.json",
"postbarrel": "cp ./lib/index.override.ts ./lib/index.ts && echo 'Barreled magic-ts!'",
"prepublishOnly": "npm run build"
},
"devDependencies": {
"@jest/types": "^28.1.1",
"@tsconfig/node18-strictest": "^1.0.0",
"@types/jest": "^27.5.1",
"@typescript-eslint/eslint-plugin": "^5.25.0",
"barrelsby": "^2.3.4",
"eslint": "^8.16.0",
"eslint-config-canonical": "^35.0.1",
"eslint-plugin-jsdoc": "^39.3.3",
"eslint-plugin-unused-imports": "^2.0.0",
"jest": "^28.1.0",
"madge": "^5.0.1",
"prettier": "^2.6.2",
"ts-jest": "^28.0.2",
"tsdoc-testify": "^0.0.3",
"typescript": "^4.7.4"
}
}