-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
76 lines (76 loc) · 2.59 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
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
72
73
74
75
76
{
"name": "@roeeyn/challenge-generator",
"version": "2.4.2",
"description": "Fetches a code challenge from the backend, and creates the necessary files to run locally.",
"main": "./lib/index.js",
"bin": {
"challenge-generator": "./bin/challenge-generator"
},
"files": [
"lib/**/*"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"start": "npm run build && npm i -g && challenge-generator",
"test": "jest",
"version:output": "echo \"export const version: string = \"'\"'\"$(cat package.json | jq -r '.version')\"'\"'\";\" > src/version.ts",
"copy-files": "cp src/templates/run.templates.js.bash src/templates/run.templates.py.bash src/templates/run.templates.java.bash src/templates/testframework.templates.js src/templates/testframework.templates.py src/templates/testframework.templates.java lib/templates/",
"build": "npm run version:output && npm run clean:some && tsc -p . && npm run copy-files",
"format": "prettier -w .",
"format:check": "prettier -c . '!lib/**/*|README.md'",
"prepare": "npm run build",
"prepublishOnly": "npm run format:check && npm run test",
"preversion": "npm run format:check",
"version": "npm run format:check",
"postversion": "git push && git push --tags",
"global": "npm i -g && challenge-generator",
"clean:some": "rm -rf ./lib ./docs",
"clean:all": "rm -rf ./node_modules ./package-lock.json ./lib ./docs",
"refresh": "npm run clean:all && npm install",
"publish-package": "npm run build && npm publish",
"docs": "typedoc --entryPointStrategy expand --out docs ./src"
},
"repository": {
"type": "git",
"url": "git+https://github.com/roeeyn/challenge-generator.git"
},
"keywords": [
"challenge",
"coding",
"hackademymx",
"hackademy"
],
"author": "roeeyn",
"license": "MIT",
"bugs": {
"url": "https://github.com/roeeyn/challenge-generator/issues"
},
"homepage": "https://github.com/roeeyn/challenge-generator#readme",
"dependencies": {
"commander": "^9.2.0",
"figlet": "^1.5.2",
"fs-extra": "^10.1.0",
"inquirer": "^8.2.4",
"inversify": "^6.0.1",
"kleur": "^4.1.4",
"node-fetch": "^2.6.7",
"reflect-metadata": "^0.1.13",
"terser": "^5.13.1",
"tslib": "^2.4.0"
},
"devDependencies": {
"@types/figlet": "^1.5.4",
"@types/fs-extra": "^9.0.13",
"@types/inquirer": "^8.2.1",
"@types/jest": "^27.5.1",
"@types/node": "^17.0.35",
"@types/node-fetch": "^2.6.1",
"jest": "^28.1.0",
"ts-jest": "^28.0.3",
"ts-node": "^10.8.0",
"typedoc": "^0.22.15",
"typescript": "^4.6.4"
}
}