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.64 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": "git@github.com:swc/swc-node.git",
"author": "LongYinan <github@lyn.one>",
"license": "MIT",
"scripts": {
"bench": "node -r @swc-node/register ./bench/index.ts",
"build": "tsc -b tsconfig.project.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 --loader=@swc-node/register/esm packages/integrate-module/src/index.ts",
"version": "pnpm install && git add .",
"postinstall": "husky install"
},
"devDependencies": {
"@babel/core": "^7.21.4",
"@babel/plugin-transform-typescript": "^7.21.3",
"@babel/preset-env": "^7.21.4",
"@babel/preset-typescript": "^7.21.4",
"@swc-node/core": "workspace:*",
"@swc-node/jest": "workspace:*",
"@swc-node/register": "workspace:*",
"@types/babel__core": "^7.20.0",
"@types/benchmark": "^2.1.2",
"@types/lodash": "^4.14.192",
"@types/node": "^18.15.11",
"@types/sinon": "^10.0.13",
"@typescript-eslint/eslint-plugin": "^5.57.1",
"@typescript-eslint/parser": "^5.57.1",
"ava": "^5.2.0",
"benchmark": "^2.1.4",
"colorette": "^2.0.19",
"cross-env": "^7.0.3",
"esbuild": "^0.17.16",
"eslint": "^8.38.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.3",
"jest": "^29.5.0",
"lerna": "^6.6.1",
"lint-staged": "^13.2.1",
"lodash": "^4.17.21",
"prettier": "^2.8.7",
"react": "^18.2.0",
"rxjs": "^7.8.0",
"sinon": "^15.0.3",
"tslib": "^2.5.0",
"typescript": "^5.0.4"
},
"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"
],
"files": [
"packages/**/*.spec.{ts,tsx}"
],
"environmentVariables": {
"SWC_NODE_PROJECT": "./tsconfig.test.json"
}
},
"packageManager": "pnpm@8.2.0"
}