This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
Doric/doric-js/package.json
2022-08-11 13:37:38 +08:00

45 lines
1.6 KiB
JSON

{
"name": "doric",
"version": "0.6.13",
"description": "The JS Framework of Doric",
"main": "bundle/doric-vm.js",
"types": "index.d.ts",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "cp -rf index.web.html bundle/doric-web.html && tsc -p tsconfig.es5.json && mv -f lib-es5/src/ui/view.es5.js lib-es5/src/ui/view.js && tsc -d -p . && rollup -c && dts-bundle-generator -o index.d.ts index.ts --project tsconfig.json --inline-declare-global && node generateDts.js",
"build-win32": "cp -rf index.web.html bundle/doric-web.html && tsc -p tsconfig.es5.json && tsc -d -p . && rollup -c && dts-bundle-generator -o index.d.ts index.ts --project tsconfig.json --inline-declare-global && node generateDts.js",
"dev": "tsc -w -p . & rollup -c -w",
"clean": "rm -rf lib && rm -rf lib-es5 && rm -rf bundle",
"prepublish": "npm run build"
},
"repository": {
"type": "https",
"url": "https://github.com/doric-pub/doric"
},
"author": "pengfeizhou",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/doric-pub/doric/issues"
},
"homepage": "https://github.com/doric-pub/doric#readme",
"dependencies": {
"typescript": "^4.2.2",
"ws": "^7.4.3"
},
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"devDependencies": {
"@rollup/plugin-buble": "^0.21.3",
"@rollup/plugin-commonjs": "^14.0.0",
"@rollup/plugin-node-resolve": "^8.4.0",
"@types/core-js": "^2.5.5",
"@types/ws": "^7.2.6",
"core-js": "^3.9.1",
"dts-bundle-generator": "^6.12.0",
"proxy-polyfill": "^0.3.2",
"reflect-metadata": "^0.1.13",
"rollup": "^2.40.0"
}
}