forked from unjs/magicast
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
68 lines (68 loc) · 1.76 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
{
"name": "magicast",
"version": "0.2.9",
"description": "Modify a JS/TS file and write back magically just like JSON!",
"repository": "unjs/magicast",
"license": "MIT",
"sideEffects": false,
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
},
"./helpers": {
"types": "./helpers.d.ts",
"import": "./dist/helpers.mjs",
"require": "./dist/helpers.cjs"
}
},
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": [
"dist",
"*.d.ts"
],
"scripts": {
"build": "unbuild",
"dev": "vitest dev",
"dev:ui": "vitest dev --ui",
"lint": "eslint --cache --ext .ts,.js,.mjs,.cjs . && prettier -c src test",
"lint:fix": "eslint --cache --ext .ts,.js,.mjs,.cjs . --fix && prettier -c src test -w",
"prepack": "pnpm run build",
"typecheck": "tsc --noEmit",
"release": "pnpm run test run && changelogen --release && npm publish && git push --follow-tags",
"test": "vitest"
},
"dependencies": {
"@babel/parser": "^7.22.4",
"@babel/types": "^7.22.4",
"recast": "^0.23.2"
},
"devDependencies": {
"@types/node": "^18.16.16",
"@vitest/coverage-c8": "^0.31.2",
"@vitest/ui": "^0.31.2",
"changelogen": "^0.5.3",
"eslint": "^8.41.0",
"eslint-config-unjs": "^0.2.0",
"lint-staged": "^13.2.2",
"prettier": "^2.8.8",
"simple-git-hooks": "^2.8.1",
"typescript": "^5.0.4",
"unbuild": "^1.2.1",
"vitest": "^0.31.2"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"
},
"lint-staged": {
"*.{ts,js,mjs,cjs}": [
"eslint --fix",
"prettier -w"
]
},
"packageManager": "[email protected]"
}