/
package.json
69 lines (69 loc) · 1.86 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
{
"name": "talt",
"version": "2.4.4",
"description": "Template functions to generate TypeScript AST.",
"type": "module",
"types": "./lib/index.d.ts",
"main": "./lib_cjs/index.js",
"exports": {
".": {
"import": {
"types": "./lib/index.d.ts",
"default": "./lib/index.js"
},
"require": {
"types": "./lib/index.d.ts",
"default": "./lib_cjs/index.cjs"
}
}
},
"files": [
"lib",
"lib_cjs"
],
"scripts": {
"clean": "rimraf lib lib_cjs \"*.tsbuildinfo\" .rollup.cache coverage",
"build": "npm run build:esm && npm run build:cjs",
"build:esm": "tsc -p tsconfig.build.json",
"build:cjs": "rollup -c rollup.config.cjs.js",
"test": "NODE_ENV=development NODE_OPTIONS=--experimental-vm-modules jest",
"test:ci": "NODE_ENV=development NODE_OPTIONS=--experimental-vm-modules jest --coverage",
"prettier": "prettier \"*.md\" \"*.json\" \"*.yml\" \"src/**/*\"",
"format": "yarn prettier --write",
"format:check": "yarn prettier --check",
"lint": "yarn format:check",
"postinstall": "husky install",
"prepublishOnly": "pinst --disable",
"postpublish": "pinst --enable"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Quramy/talt.git"
},
"keywords": [
"TypeScript",
"AST"
],
"author": "Quramy",
"license": "MIT",
"bugs": {
"url": "https://github.com/quramy/talt/issues"
},
"homepage": "https://github.com/quramy/talt#readme",
"peerDependencies": {
"typescript": "^3.0.0 || ^4.0.0 || ^5.0.0"
},
"devDependencies": {
"@rollup/plugin-typescript": "11.1.6",
"@types/jest": "29.5.12",
"husky": "9.0.11",
"jest": "29.7.0",
"pinst": "3.0.0",
"prettier": "3.2.5",
"pretty-quick": "4.0.0",
"rimraf": "5.0.6",
"rollup": "4.16.3",
"ts-jest": "29.1.2",
"typescript": "5.4.5"
}
}