-
Notifications
You must be signed in to change notification settings - Fork 2k
/
package.json
86 lines (86 loc) · 3.08 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
{
"name": "cocos-creator",
"version": "3.8.6",
"description": "Cocos Creator is a cross-platform 2D & 3D game engine written in C++ and TypeScript, licensed under MIT.",
"homepage": "http://www.cocos.com",
"license": "MIT",
"authors": [
"AUTHORS.txt"
],
"module": "index.js",
"engines": {
"node": ">=18.0.0"
},
"scripts": {
"postinstall": "npm run build:debug-infos && npm run build:declaration && npm run build:adapter && npm run fetch-ral && npm run build:native-pack-tool",
"build": "npm run build:min && npm run build:declaration",
"build:adapter": "node ./scripts/build-adapter.js",
"build:const": "node ./scripts/build-const.js",
"build:dev": "npm run build:debug-infos && node ./scripts/build-h5-source",
"build:debug-infos": "node ./scripts/build-debug-infos",
"build:declaration": "npm run build:const && node ./scripts/build-declarations",
"build:min": "npm run build:debug-infos && node ./scripts/build-h5-minified",
"build:native-pack-tool": "cd ./scripts/native-pack-tool && npm install && npm run build",
"clear": "node ./scripts/clear-cache.js",
"clear:platform": "node ./native/utils/clear-platform.js && node ./scripts/clear-file.js",
"fetch-ral": "node ./scripts/fetch-ral.js",
"test": "tsc --noEmit && jest",
"test:dts": "npx tsc ./scripts/test-declarations/test.d.ts",
"update:engine-version": "node ./scripts/checkout-engine-version.js",
"update:native-external": "node ./native/utils/update-external.js",
"verify:engine-version": "node ./scripts/verify-engine-version.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/cocos-creator/engine.git"
},
"devDependencies": {
"@babel/core": "^7.13.10",
"@babel/plugin-proposal-export-default-from": "^7.17.12",
"@babel/preset-env": "7.8.7",
"@cocos/babel-preset-cc": "2.2.0",
"@types/fs-extra": "^5.0.4",
"@types/jest": "^24.9.1",
"@types/yargs": "^12.0.14",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"async": "^2.6.4",
"axios": "^1.4.0",
"babelify": "^10.0.0",
"browserify": "^17.0.0",
"chalk": "^4.1.2",
"del": "^6.0.0",
"eslint": "^8.44.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.27.5",
"fs": "^0.0.1-security",
"fs-extra": "^7.0.1",
"ftp": "0.3.10",
"gulp": "^4.0.2",
"gulp-rename": "^2.0.0",
"gulp-uglify": "^3.0.2",
"jest": "^28.0.2",
"jest-environment-jsdom": "^28.0.2",
"jest-extended": "^1.1.0",
"jest-matcher-deep-close-to": "^2.0.1",
"node-fetch": "^2.6.1",
"pngjs": "^6.0.0",
"progress": "^2.0.3",
"tar": "^6.1.15",
"tmp": "^0.2.1",
"tree-kill": "^1.2.0",
"ts-jest": "^28.0.8",
"typescript": "^4.9.5",
"vinyl-buffer": "^1.0.1",
"vinyl-source-stream": "^2.0.0",
"which": "^2.0.2",
"yargs": "^12.0.5"
},
"dependencies": {
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@cocos/box2d": "1.0.1",
"@cocos/cannon": "1.2.8",
"@cocos/ccbuild": "^2.2.19",
"@cocos/dragonbones-js": "^1.0.1"
}
}