forked from swc-project/swc-node
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
105 lines (105 loc) · 2.62 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
103
104
105
{
"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": "eslint -c ./.eslintrc.yml .",
"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 install"
},
"devDependencies": {
"@babel/core": "^7.23.9",
"@babel/plugin-transform-typescript": "^7.23.6",
"@babel/preset-env": "^7.23.9",
"@babel/preset-typescript": "^7.23.3",
"@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.14.202",
"@types/node": "^20.11.15",
"@types/sinon": "^17.0.3",
"@typescript-eslint/eslint-plugin": "^6.20.0",
"@typescript-eslint/parser": "^6.20.0",
"ava": "^6.1.1",
"benchmark": "^2.1.4",
"colorette": "^2.0.20",
"cross-env": "^7.0.3",
"esbuild": "^0.24.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"husky": "^9.0.8",
"jest": "^29.7.0",
"lerna": "^8.0.2",
"lint-staged": "^15.2.1",
"lodash": "^4.17.21",
"prettier": "^3.2.4",
"react": "^18.2.0",
"rxjs": "^7.8.1",
"sinon": "^17.0.1",
"tslib": "^2.6.2",
"typescript": "^5.3.3"
},
"lint-staged": {
"*.@(js|ts|tsx|mts)": [
"eslint --fix"
],
"*.@(js|ts|tsx|mts|yml|yaml|md|json)": [
"prettier --write"
]
},
"prettier": {
"printWidth": 120,
"semi": false,
"trailingComma": "all",
"singleQuote": true,
"arrowParens": "always"
},
"ava": {
"extensions": [
"ts",
"tsx"
],
"require": [
"@swc-node/register"
],
"cache": false,
"files": [
"packages/**/*.spec.{ts,tsx}"
],
"environmentVariables": {
"SWC_NODE_PROJECT": "./tsconfig.test.json"
}
},
"packageManager": "[email protected]"
}