-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
43 lines (43 loc) · 1.75 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
{
"name": "advent-of-code-2022",
"version": "1.0.0",
"description": "Advent of Code 2022 TypeScript + RxJS https://adventofcode.com/2022",
"main": "index.js",
"author": "iNViTiON",
"license": "MIT",
"type": "module",
"scripts": {
"build-swc": "yarn swc src/${0}/${1}.ts -s -d dist ${2:-}",
"build": "yarn esbuild --bundle --format=esm --minify --outfile=dist/main.js --platform=node --sourcemap --allow-overwrite --tree-shaking=true src/${0}/${1}.ts ${2:-}",
"dev-esbuild": "yarn build ${0} ${1} & yarn concurrently -n build,serve -c green,auto \"yarn build ${0} ${1} --watch\" \"yarn serve ${2:-}\"",
"dev-swc": "yarn build-swc ${0} ${1} & yarn concurrently -n build,serve -c green,auto \"yarn build-swc ${0} ${1} -w\" \"yarn serve-swc ${0} ${1} ${2:-}\"",
"dev": "tsx watch src/${0}/${1}.ts ${2:-}",
"serve-swc": "yarn node --watch --enable-source-maps dist/${0}/${1}.js ${2:-}",
"serve": "yarn node --watch --enable-source-maps dist/main.js ${0:-}",
"test-all": "globstar -- tsx --test \"src/**/*.spec.ts\"",
"test-dev": "globstar -- tsx watch --test \"src/**/*.spec.ts\"",
"test": "tsx watch --test src/${0}/${1}.spec.ts",
"update-sdks": "yarn dlx @yarnpkg/sdks vscode",
"postinstall": "yarn update-sdks",
"volta-update": "volta pin --verbose node@latest yarn && yarn install --mode=update-lockfile"
},
"dependencies": {
"rxjs": "^7.8.0"
},
"devDependencies": {
"@swc/cli": "^0.1.62",
"@swc/core": "^1.3.49",
"@swc/helpers": "^0.5.0",
"@types/node": "^18.15.11",
"chokidar": "^3.5.3",
"concurrently": "^8.0.1",
"esbuild": "^0.17.16",
"globstar": "^1.0.0",
"tsx": "^3.12.6",
"typescript": "^5.0.4"
},
"volta": {
"node": "20.2.0",
"yarn": "4.0.0-rc.44"
}
}