add dts bundle to package .d.ts
This commit is contained in:
parent
7cde16a75d
commit
3d021754a2
6
doric-js/dts-bundle.json
Normal file
6
doric-js/dts-bundle.json
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"name": "doric",
|
||||||
|
"baseDir": "./",
|
||||||
|
"main": "lib/index.d.ts",
|
||||||
|
"out": "./index.d.ts"
|
||||||
|
}
|
1054
doric-js/index.d.ts
vendored
Normal file
1054
doric-js/index.d.ts
vendored
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "doric",
|
"name": "doric",
|
||||||
"version": "0.2.2-alpha.0",
|
"version": "0.2.2-alpha.1",
|
||||||
"description": "The JS Framework of Doric",
|
"description": "The JS Framework of Doric",
|
||||||
"main": "bundle/doric-vm.js",
|
"main": "bundle/doric-vm.js",
|
||||||
"types": "./lib/index.d.ts",
|
"types": "./lib/index.d.ts",
|
||||||
@ -9,7 +9,7 @@
|
|||||||
"build": "tsc -d -p .&& rollup -c",
|
"build": "tsc -d -p .&& rollup -c",
|
||||||
"dev": "tsc -w -p . & rollup -c -w",
|
"dev": "tsc -w -p . & rollup -c -w",
|
||||||
"clean": "rm -rf build && rm -rf bundle",
|
"clean": "rm -rf build && rm -rf bundle",
|
||||||
"prepublish": "npm run build"
|
"prepublish": "npm run build && dts-bundle --configJson dts-bundle.json"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "https",
|
"type": "https",
|
||||||
@ -22,10 +22,11 @@
|
|||||||
},
|
},
|
||||||
"homepage": "https://github.com/doric-pub/doric#readme",
|
"homepage": "https://github.com/doric-pub/doric#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@rollup/plugin-node-resolve": "^6.0.0",
|
||||||
"@types/ws": "^6.0.4",
|
"@types/ws": "^6.0.4",
|
||||||
|
"dts-bundle": "^0.7.3",
|
||||||
"reflect-metadata": "^0.1.13",
|
"reflect-metadata": "^0.1.13",
|
||||||
"rollup": "^1.27.14",
|
"rollup": "^1.27.14",
|
||||||
"@rollup/plugin-node-resolve": "^6.0.0",
|
|
||||||
"tslib": "^1.10.0",
|
"tslib": "^1.10.0",
|
||||||
"typescript": "^3.7.4",
|
"typescript": "^3.7.4",
|
||||||
"ws": "^7.2.1"
|
"ws": "^7.2.1"
|
||||||
|
Reference in New Issue
Block a user