-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.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": "@chillandchat/chatscript",
"version": "1.2.0",
"description": "The programming scripting language by Chill&chat for communicating with the Chill&chat server.",
"main": "./build/js/index.js",
"bin": "./build/js/index.js",
"repository": "https://github.com/chillandchat/cli.git",
"author": "Alvin Cheng <[email protected]>",
"license": "MIT",
"private": false,
"scripts": {
"build": "echo 'Building...' && cp -a ./src/ ./build/tmp && node build.js && tsc && echo 'Done!'",
"create-bin": "echo 'Building binary files...' && pkg . && echo 'Done!'",
"test": "echo 'Compiling test code...' && ts-node ./src/index.ts compile ./__tests__/main.chat && echo 'Running test code...' && ts-node ./src/index.ts --allow-all-services run ./__tests__/main.out.chat && echo 'Done!'",
"clean": "echo 'Cleaning...' && rm -r ./__tests__/main.out.chat",
"format": "echo 'Formatting code...' && prettier --write . && echo 'Done!'"
},
"dependencies": {
"axios": "^0.27.2",
"child_process": "^1.0.2",
"dotenv": "^16.0.1",
"pkg": "^5.8.0",
"prompt-sync": "^4.2.0",
"socket.io-client": "^4.5.4",
"uuid": "^8.3.2"
},
"devDependencies": {
"@types/node": "^18.6.3",
"@types/socket.io-client": "^3.0.0",
"@types/uuid": "^8.3.4",
"ts-node": "^10.9.1",
"typescript": "^4.7.4"
},
"pkg": {
"scripts": "build/js/**/*.js",
"targets": [
"node16-macos",
"node16-linux",
"node16-windows"
],
"outputPath": "build/exe"
}
}