-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
51 lines (51 loc) · 1.7 KB
/
package.json
File metadata and controls
51 lines (51 loc) · 1.7 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
{
"name": "dockertest",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"start": "node dist/server.js",
"watch": "ts-node-dev server.ts",
"prebuild": "npm run clean",
"build": "npm run generate & npm run tsc & npm run copy-files & npm run uglifyjs",
"tsc": "tsc --build tsconfig.build.json",
"clean": "rm -rf ./dist",
"copy-files": "cp -r ./challenges/ ./dist/ & cp -r ./view ./dist/ & cp -r ./public ./dist/ & cp package*.json ./dist/ ",
"uglifyjs": "npx uglifyjs ./dist/public/dark-light-mode.js -c -m > ./dist/public/dark-light-mode.min.js & npx uglifyjs ./dist/public/main.js -c -m > ./dist/public/main.min.js",
"generate": "ts-node src/generateChallenges.ts",
"add:challenge": "ts-node commands/addChallenge/index.ts",
"add:language": "ts-node commands/addLanguage/index.ts",
"validate:challenges": "ts-node commands/validateChallenges/index.ts",
"prepare": "husky install"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"ejs": "^3.1.6",
"fastify": "^3.18.0",
"fastify-cors": "^6.0.1",
"fastify-envalid": "^1.0.0",
"fastify-helmet": "^5.3.1",
"fastify-static": "^4.2.2",
"fastify-swagger": "^4.8.0",
"marked": "^2.1.3",
"point-of-view": "^4.15.0",
"slugify": "^1.5.3"
},
"devDependencies": {
"@types/ejs": "^3.0.6",
"@types/fastify-cors": "^2.1.0",
"@types/marked": "^2.0.3",
"@types/node": "^15.12.4",
"@types/prompts": "^2.0.13",
"ajv": "^8.6.1",
"husky": "^7.0.0",
"json-schema-to-ts": "^1.6.4",
"pino-pretty": "^5.1.1",
"prompts": "^2.4.1",
"ts-node": "^10.0.0",
"typescript": "^4.3.4",
"uglify-js": "^3.13.10"
}
}