-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
71 lines (71 loc) · 2.06 KB
/
package.json
File metadata and controls
71 lines (71 loc) · 2.06 KB
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
{
"name": "swc-command",
"version": "1.0.5",
"description": "SWC nodejs api to run swc cli seamlessly from node. Intended for main usage with programmatic build scripts.",
"keywords": [
"swc",
"node",
"api",
"cli",
"command"
],
"repository": {
"type": "git",
"url": "git@github.com:TheMagicianDev/swc-command.git"
},
"bugs": {
"url": "https://github.com/TheMagicianDev/swc-command/issues"
},
"license": "MIT",
"author": "TheMagician <themagicianproject2022@gmail.com>, Mohamed Lamine Allal <allalmohamedlamine@gmail.com>",
"type": "commonjs",
"exports": {
"require": "./dist/cjs/index.js",
"default": "./dist/esm/index.js"
},
"files": [
"dist"
],
"scripts": {
"prepare": "lefthook install",
"build": "pnpm run reset:dist && run-p build:**",
"build:ts:cjs": "tsc -p tsconfig.cjs.json",
"build:ts:esm": "tsc -p tsconfig.esm.json",
"reset:dist": "rimraf dist && mkdir dist",
"test": "jest",
"test:cov": "jest --coverage",
"lint": "eslint src/**/*.ts",
"types:check": "tsc --noEmit -p tsconfig.cjs.json",
"lefthook:sync": "lefthook install"
},
"dependencies": {
"@swc/cli": "^0.1.57",
"@swc/core": "^1.3.11",
"@types/cross-spawn": "^6.0.2",
"cross-spawn": "^7.0.3"
},
"devDependencies": {
"@commitlint/cli": "^17.0.3",
"@commitlint/config-conventional": "^17.0.3",
"@evilmartians/lefthook": "^1.1.1",
"@jest/types": "^29.0.3",
"@themagician/tsconfig-base": "^1.0.5",
"@types/jest": "^28.1.7",
"@types/node": "^18.7.18",
"@typescript-eslint/eslint-plugin": "^5.30.6",
"@typescript-eslint/parser": "^5.30.6",
"eslint": "^8.19.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-prettier": "^4.2.1",
"jest": "^28.1.3",
"npm-run-all": "^4.1.5",
"prettier": "^2.7.1",
"rimraf": "^3.0.2",
"ts-jest": "^28.0.8",
"ts-node": "^10.9.1",
"typescript": "^4.7.4"
}
}