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
2021-10-29 14:41:30 +08:00

44 lines
1.4 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": "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 --configJson dts-bundle.json && cat src/image.d.ts >> index.d.ts",
"build-win32": "tsc -p tsconfig.es5.json && tsc -d -p . && rollup -c && dts-bundle --configJson dts-bundle.json",
"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": {
"@types/ws": "^7.2.6",
"core-js": "^3.9.1",
"proxy-polyfill": "^0.3.2",
"reflect-metadata": "^0.1.13",
"rollup": "^2.40.0",
"dts-bundle": "^0.7.3",
"@rollup/plugin-buble": "^0.21.3",
"@rollup/plugin-commonjs": "^14.0.0",
"@rollup/plugin-node-resolve": "^8.4.0"
}
}