mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 08:02:39 +08:00
705c977fc9
* Binary serialization * Update snapshots * Update * rename option ccon -> useCCON * Missing script * encodeCCONJson: chunks -> chunkURLs * Update * (de)serializeSymbol -> (de)serializeTag; * CustomizedSerializable -> CustomSerializable * _deserializePrimitiveObject -> _fillPlainObject * Unify CCClass CCClassConstructor * encodeCCONJson -> parseCCONJson * Custom serializable * Move (de)serializeSuper(This) from context into global * property -> read(write)Property; (de)serializeThis(Super) -> (read)writeThis(Super) * CI and lint * Mock cc env
83 lines
2.6 KiB
JSON
83 lines
2.6 KiB
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "Build Declarations",
|
|
"program": "${workspaceFolder}/node_modules/gulp/bin/gulp.js",
|
|
"args": [
|
|
"build-declarations"
|
|
],
|
|
"skipFiles": [
|
|
"<node_internals>/**"
|
|
]
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "Build Code",
|
|
"program": "${workspaceFolder}/node_modules/gulp/bin/gulp.js",
|
|
"args": [
|
|
"build-code"
|
|
],
|
|
"skipFiles": [
|
|
"<node_internals>/**"
|
|
]
|
|
},
|
|
{
|
|
"type": "chrome",
|
|
"request": "launch",
|
|
"name": "Launch Chrome",
|
|
"url": "http://localhost:8002/playground/simple.html",
|
|
"webRoot": "${workspaceFolder}"
|
|
},
|
|
{
|
|
"name": "Unit Test",
|
|
"type": "node",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/node_modules/.bin/jest",
|
|
"windows": {
|
|
"program": "${workspaceFolder}/node_modules/jest/bin/jest.js"
|
|
},
|
|
"args": [
|
|
"--logHeapUsage"
|
|
],
|
|
"cwd": "${workspaceFolder}",
|
|
"console": "integratedTerminal",
|
|
"internalConsoleOptions": "neverOpen"
|
|
},
|
|
{
|
|
"type": "node",
|
|
"name": "Unit Test Current File",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/node_modules/.bin/jest",
|
|
"windows": {
|
|
"program": "${workspaceFolder}/node_modules/jest/bin/jest.js"
|
|
},
|
|
"args": [
|
|
"${fileBasenameNoExtension}"
|
|
],
|
|
"cwd": "${workspaceFolder}",
|
|
"console": "integratedTerminal",
|
|
"internalConsoleOptions": "neverOpen",
|
|
"disableOptimisticBPs": true,
|
|
},
|
|
{
|
|
"type": "node",
|
|
"name": "Unit Test Serialization",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/node_modules/.bin/jest",
|
|
"windows": {
|
|
"program": "${workspaceFolder}/node_modules/jest/bin/jest.js"
|
|
},
|
|
"args": [
|
|
"--testPathPattern=shared/.*\\.test\\.ts"
|
|
],
|
|
"cwd": "${workspaceFolder}",
|
|
"console": "integratedTerminal",
|
|
"internalConsoleOptions": "neverOpen",
|
|
"disableOptimisticBPs": true,
|
|
}
|
|
]
|
|
} |