-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
97 lines (97 loc) · 3.07 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"name": "wollok-ts-cli",
"version": "0.3.0",
"description": "Wollok Command Line Interface",
"repository": "https://github.com/uqbar-project/wollok-ts-cli",
"license": "MIT",
"author": {
"name": "Uqbar Foundation",
"email": "[email protected]"
},
"bugs": {
"url": "https://github.com/uqbar-project/wollok-ts-cli/issues"
},
"homepage": "https://github.com/uqbar-project/wollok-language",
"keywords": [
"wollok",
"cli",
"typescript"
],
"main": "./build/src/index.js",
"scripts": {
"prepare": "node ./scripts/download-libs.js && npm run build:tools",
"start": "node ./build/src/index.js",
"test": "npm run lint && npm run test:unit",
"test:diagram": "mocha -r ts-node/register/transpile-only test/**/diagram.test.ts --timeout 5000",
"test:run": "mocha -r ts-node/register/transpile-only test/**/run.test.ts --timeout 2000",
"test-with-coverage": "npm run lint && nyc --reporter=json --lines 70 npm run test:unit",
"lint": "eslint . ",
"lint:fix": "eslint . --fix",
"test:unit": "mocha --parallel -r ts-node/register/transpile-only test/**/*.test.ts --timeout 5000",
"build:tools": "shx cp ./node_modules/wollok-web-tools/dist/web/game-index.js ./public/game/lib && shx cp ./node_modules/wollok-web-tools/dist/dynamicDiagram/diagram-index.js ./public/diagram",
"build": "shx rm -rf build && shx mkdir ./build && shx cp -r ./public ./build/public && tsc -p ./tsconfig.build.json",
"watch": "npm run build -- -w",
"pack": "pkg .",
"prepublishOnly": "npm run prepare && npm run build && npm run test"
},
"bin": {
"wollok": "./build/src/index.js"
},
"pkg": {
"scripts": "build/**/*.js",
"targets": [
"node18-macos-x64",
"node18-linux-x64",
"node18-macos-arm64",
"node18-win-x64"
],
"assets": [
"./build/public/**/*"
],
"outputPath": "dist"
},
"dependencies": {
"@badisi/latest-version": "^7.0.10",
"chalk": "^4.1.2",
"cli-box": "^6.0.10",
"commander": "^11.1.0",
"compare-versions": "^6.1.1",
"cors": "^2.8.5",
"cytoscape": "^3.15.2",
"express": "^4.18.1",
"globby": "^11.0.4",
"loglevel": "^1.8.1",
"p5": "^1.8.0",
"pkg": "^5.8.1",
"print-message": "^3.0.1",
"socket.io": "^4.5.1",
"winston": "^3.11.0",
"wollok-ts": "^4.1.9",
"wollok-web-tools": "^1.1.7"
},
"devDependencies": {
"@stylistic/eslint-plugin-ts": "^2.8.0",
"@types/chai": "^4.3.16",
"@types/chai-as-promised": "^7.1.7",
"@types/cli-box": "^6.0.4",
"@types/cytoscape": "^3.19.7",
"@types/express": "^4.17.20",
"@types/mocha": "^10.0.7",
"@types/node": "^18.14.5",
"@types/p5": "^1.7.1",
"@types/sinon": "^17.0.0",
"@typescript-eslint/eslint-plugin": "^8.7.0",
"@typescript-eslint/parser": "^8.7.0",
"chai": "^4.5.0",
"chai-as-promised": "^7.1.1",
"chai-http": "^4.4.0",
"eslint": "^8.52.0",
"mocha": "^10.7.0",
"nyc": "^15.1.0",
"shx": "^0.3.4",
"sinon": "^17.0.1",
"socket.io-client": "^4.7.5",
"ts-node": "10.9.1",
"typescript": "~5.5.1"
}
}