js:add lib and .d.ts

This commit is contained in:
pengfei.zhou
2020-01-03 14:44:51 +08:00
committed by osborn
parent 624e90e4a8
commit 7cde16a75d
84 changed files with 3794 additions and 19 deletions

View File

@@ -1,13 +1,15 @@
{
"name": "doric",
"version": "0.2.1",
"version": "0.2.2-alpha.0",
"description": "The JS Framework of Doric",
"main": "bundle/doric-vm.js",
"types": "./lib/index.d.ts",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "tsc -p .&& rollup -c",
"build": "tsc -d -p .&& rollup -c",
"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"
},
"repository": {
"type": "https",
@@ -28,4 +30,4 @@
"typescript": "^3.7.4",
"ws": "^7.2.1"
}
}
}