-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
35 lines (35 loc) · 1.2 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
{
"name": "@snipcode/embed",
"version": "1.0.0",
"description": "Build the script and style assets for code snippet rendering in an embed.",
"repository": " https://github.com/tericcabrel/snipcode.git",
"author": "Eric Cabrel TIOGO <[email protected]>",
"license": "MIT",
"scripts": {
"build:cdn": "tsup",
"build:cdn:watch": "tsup --watch",
"build:lib": "tsc --project tsconfig.prod.json",
"build": "yarn build:lib && yarn build:cdn",
"clean": "rm -rf .turbo dist build",
"dev": "nodemon --watch \"*.ts\" --exec \"ts-node\" ./src/server/index.ts",
"lint": "eslint src",
"iframe:preview": "serve ./src/server/static -l 7503",
"publish:lib": "cp package.publish.json build/package.json && cp README.publish.md build/README.md && cd build && npm publish --access=public",
"test": "jest"
},
"devDependencies": {
"@snipcode/database": "*",
"@types/express": "^4.17.13",
"@types/jest": "^29.1.2",
"@types/node": "^18.7.11",
"express": "^4.18.1",
"jest": "^29.1.2",
"nodemon": "^2.0.19",
"serve": "^14.2.1",
"shiki": "^0.11.1",
"ts-jest": "^29.0.3",
"ts-node": "^10.9.1",
"tsup": "^6.2.2",
"typescript": "4.8.4"
}
}