feat: update datasource engine

This commit is contained in:
guokai.jgk 2020-11-10 20:48:37 +08:00
parent a59ab462c4
commit bf7b7d1a38
15 changed files with 10 additions and 10 deletions

View File

@ -1 +1 @@
module.exports = require('./dist/interpret');
module.exports = require('./dist/interpret/index');

View File

@ -2,16 +2,16 @@
"name": "@ali/lowcode-datasource-engine",
"version": "1.0.20-alpha.1",
"description": "DataSource Engine for lowcode",
"main": "lib/index.js",
"module": "es/index.js",
"main": "dist/index.js",
"files": [
"dist",
"src",
"lib",
"es"
"interpret*",
"runtime*"
],
"scripts": {
"clean": "rm -rf es lib",
"build": "npm run clean && tsc && tsc --outDir ./lib --module commonjs ",
"clean": "rm -rf dist",
"build": "npm run clean && tsc ",
"test": "ava",
"prepublishOnly": "npm run build"
},

View File

@ -2,9 +2,9 @@
"compilerOptions": {
/* Basic Options */
// "incremental": true, /* Enable incremental compilation */
"target": "esnext" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */,
"module": "commonjs" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */,
// "lib": [], /* Specify library files to be included in the compilation. */
"target": "es6" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */,
"module": "esnext" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */,
"lib": ["ESNext", "DOM"] /* Specify library files to be included in the compilation. */,
// "allowJs": true, /* Allow javascript files to be compiled. */
// "checkJs": true, /* Report errors in .js files. */
"jsx": "preserve" /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */,