-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
77 lines (77 loc) · 1.81 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
{
"name": "comment-to-assert",
"version": "5.3.3",
"description": "convert line comment to assert.",
"keywords": [
"ast",
"doctest",
"testing"
],
"homepage": "https://github.com/azu/comment-to-assert",
"bugs": {
"url": "https://github.com/azu/comment-to-assert/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/azu/comment-to-assert.git"
},
"license": "MIT",
"author": "azu",
"files": [
"lib",
"src",
"bin"
],
"main": "lib/comment-to-assert.js",
"types": "lib/comment-to-assert.d.ts",
"bin": {
"comment-to-assert": "./bin/cmd.js"
},
"directories": {
"test": "test"
},
"scripts": {
"build": "tsc -p .",
"example": "npm i && npm run build && cd example && npm test",
"prepublish": "npm run --if-present build",
"test": "mocha \"test/**/*.ts\"",
"updateSnapshot": "UPDATE_SNAPSHOT=1 npm test",
"watch": "tsc -p . --watch"
},
"dependencies": {
"@babel/core": "^7.16.7",
"@babel/parser": "^7.16.7",
"@babel/template": "^7.16.7",
"@babel/traverse": "^7.16.7",
"@babel/types": "^7.16.7",
"concat-stream": "^2.0.0"
},
"devDependencies": {
"@types/babel__core": "^7.1.18",
"@types/babel__generator": "^7.6.4",
"@types/babel__template": "^7.4.1",
"@types/babel__traverse": "^7.14.2",
"@types/mocha": "^10.0.1",
"@types/node": "^20.4.2",
"husky": "^8.0.3",
"lint-staged": "^13.2.3",
"mocha": "^10.2.0",
"prettier": "^3.0.0",
"ts-node": "^10.4.0",
"ts-node-test-register": "^10.0.0",
"typescript": "^5.1.6"
},
"email": "[email protected]",
"lint-staged": {
"*.{ts,tsx,css}": [
"prettier --write",
"git add"
]
},
"husky": {
"hooks": {
"post-commit": "git reset",
"pre-commit": "lint-staged"
}
}
}