fix: 添加types
This commit is contained in:
parent
d7cbadf1db
commit
4b08e6e892
@ -1,12 +1,13 @@
|
||||
{
|
||||
"name": "dt-sql-parser-semantic-analyse-plugin",
|
||||
"version": "0.0.1-alpha.1",
|
||||
"version": "0.0.1-alpha.2",
|
||||
"description": "an dt-sql-parser plugin with semantic result",
|
||||
"type": "module",
|
||||
"files": [
|
||||
"dist"
|
||||
],
|
||||
"main": "./dist/lib/dt-sql-parser-semantic-analyse-plugin.js",
|
||||
"types": "./dist/types/index.d.ts",
|
||||
"module": "./dist/es/index.js",
|
||||
"exports": {
|
||||
".": {
|
||||
@ -16,7 +17,6 @@
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build-es": "tsc",
|
||||
"build": "tsc && vite build",
|
||||
"preview": "vite preview",
|
||||
"lint": "eslint . --fix"
|
||||
|
@ -2,6 +2,8 @@
|
||||
"compilerOptions": {
|
||||
"rootDir": "./src/",
|
||||
"outDir": "./dist/es/",
|
||||
"declaration": true,
|
||||
"declarationDir": "./dist/types/",
|
||||
"target": "ES2020",
|
||||
"useDefineForClassFields": true,
|
||||
"module": "ESNext",
|
||||
|
Loading…
Reference in New Issue
Block a user