-
-
Notifications
You must be signed in to change notification settings - Fork 76
/
package.json
102 lines (102 loc) · 2.44 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{
"name": "swc-node",
"version": "0.0.0",
"description": "Faster swc nodejs binding",
"keywords": [
"swc",
"babel",
"esbuild",
"rust",
"n-api",
"napi",
"node-rs",
"uglify",
"terser",
"webpack",
"ts-node",
"typescript",
"tsc"
],
"private": true,
"workspaces": [
"packages/*"
],
"repository": "[email protected]:swc/swc-node.git",
"author": "LongYinan <[email protected]>",
"license": "MIT",
"scripts": {
"bench": "node -r @swc-node/register ./bench/index.ts",
"build": "tsc -b tsconfig.json",
"format": "prettier --config ./package.json . -w",
"lint": "oxlint .",
"test": "ava",
"test:jest": "jest --config jest.config.js",
"test:module": "cross-env SWC_NODE_PROJECT=packages/integrate-module/tsconfig.json node --import=@swc-node/register/esm-register packages/integrate-module/src/index.ts",
"version": "pnpm install && git add .",
"postinstall": "husky"
},
"devDependencies": {
"@babel/core": "^7.24.7",
"@babel/plugin-transform-typescript": "^7.24.7",
"@babel/preset-env": "^7.24.7",
"@babel/preset-typescript": "^7.24.7",
"@swc-node/core": "workspace:*",
"@swc-node/jest": "workspace:*",
"@swc-node/register": "workspace:*",
"@types/babel__core": "^7.20.5",
"@types/benchmark": "^2.1.5",
"@types/lodash": "^4.17.6",
"@types/node": "^22.0.0",
"@types/sinon": "^17.0.3",
"ava": "^6.1.3",
"benchmark": "^2.1.4",
"colorette": "^2.0.20",
"cross-env": "^7.0.3",
"esbuild": "^0.24.0",
"husky": "^9.0.11",
"jest": "^29.7.0",
"lerna": "8.1.9",
"lint-staged": "^15.2.7",
"lodash": "^4.17.21",
"oxlint": "^0.15.0",
"prettier": "^3.3.2",
"react": "^19.0.0",
"rxjs": "^7.8.1",
"sinon": "^19.0.0",
"tslib": "^2.6.3",
"typescript": "^5.5.3"
},
"lint-staged": {
"*.@(js|ts|tsx|mts)": [
"oxlint --fix"
],
"*.@(js|ts|tsx|mts|yml|yaml|md|json)": [
"prettier --write"
]
},
"prettier": {
"printWidth": 120,
"semi": false,
"trailingComma": "all",
"singleQuote": true,
"arrowParens": "always"
},
"ava": {
"extensions": [
"js",
"ts",
"tsx"
],
"require": [
"@swc-node/register"
],
"cache": false,
"files": [
"packages/**/*.spec.{js,ts,tsx}"
],
"environmentVariables": {
"SWC_NODE_PROJECT": "./tsconfig.test.json"
}
},
"packageManager": "[email protected]"
}