2016-06-09 18:39:51 +08:00
|
|
|
{
|
2020-09-08 00:08:18 +08:00
|
|
|
"scripts": {
|
2021-11-05 23:53:05 +08:00
|
|
|
"compile-amd": "../node_modules/.bin/mcopy ./src/lib/typescriptServices-amd.js ./out/amd/lib/typescriptServices.js && ../node_modules/.bin/tsc -p ./src/tsconfig.json",
|
|
|
|
"compile-esm": "../node_modules/.bin/mcopy ./src/lib/typescriptServices.js ./out/esm/lib/typescriptServices.js && ../node_modules/.bin/tsc -p ./src/tsconfig.esm.json",
|
|
|
|
"compile": "../node_modules/.bin/mrmdir ./out && npm run compile-amd && npm run compile-esm && node ./scripts/dts && ../node_modules/.bin/prettier --write ./monaco.d.ts",
|
|
|
|
"watch": "../node_modules/.bin/tsc -p ./src --watch",
|
|
|
|
"prepublishOnly": "../node_modules/.bin/mrmdir ./release && npm run compile && node ./scripts/release.js && node ./scripts/bundle && ../node_modules/.bin/mcopy ./monaco.d.ts ./release/monaco.d.ts && ../node_modules/.bin/mcopy ./out/esm/monaco.contribution.d.ts ./release/esm/monaco.contribution.d.ts && ../node_modules/.bin/mcopy ./out/esm/fillers/monaco-editor-core.d.ts ./release/esm/fillers/monaco-editor-core.d.ts",
|
2020-09-08 00:08:18 +08:00
|
|
|
"import-typescript": "node ./scripts/importTypescript",
|
2021-11-05 23:53:05 +08:00
|
|
|
"prettier": "../node_modules/.bin/prettier --write ."
|
2020-09-08 00:08:18 +08:00
|
|
|
}
|
2016-06-09 18:39:51 +08:00
|
|
|
}
|