-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
43 lines (43 loc) · 1.5 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": "@adrianub/cms",
"author": "Adrián UB",
"contributors": [
"S. Amir Mohammad Najafi <njfamirm@gamil.com> (njfamirm.ir"
],
"version": "1.0.0",
"license": "MIT",
"private": true,
"type": "module",
"scripts": {
"b": "yarn build",
"c": "yarn clean",
"cb": "run-s clean build",
"s": "yarn start",
"w": "yarn watch",
"start": "NODE_OPTIONS=--enable-source-maps run-s clean build serve",
"build": "yarn build:es --analyze=verbose",
"build:ts": "tsc --build",
"build:es": "esbuild src/index.ts --platform=node --external:simple-oauth2 --target=node19 --bundle --format=esm --minify --sourcemap --outdir=dist --out-extension:.js=.mjs",
"clean": "rm -rf dist build .tsbuildinfo",
"serve": "node --enable-source-maps dist/index.mjs",
"serve:debug": "node --inspect --enable-source-maps dist/index.mjs",
"watch": "run-s clean build && run-p watch:es watch:node",
"watch:node": "nodemon -w dist/ --enable-source-maps dist/index.mjs",
"watch:debug-node": "nodemon -w dist/ --inspect --enable-source-maps dist/index.mjs",
"watch:ts": "yarn build:ts --watch --preserveWatchOutput",
"watch:es": "yarn build:es --watch"
},
"dependencies": {
"@alwatr/logger": "^1.0.1",
"@alwatr/nano-server": "^1.0.1",
"simple-oauth2": "~5.0.0",
"tslib": "^2.6.0"
},
"devDependencies": {
"@types/node": "^18.14.0",
"@types/simple-oauth2": "^5.0.2",
"esbuild": "^0.18.11",
"npm-run-all": "^4.1.5",
"typescript": "^5.1.6"
}
}