add package and rollup to libs
This commit is contained in:
@@ -1,13 +1,4 @@
|
||||
import esbuild from 'rollup-plugin-esbuild';
|
||||
//import { nodeResolve } from '@rollup/plugin-node-resolve';
|
||||
|
||||
export default [
|
||||
{
|
||||
input: 'index.ts',
|
||||
output: {
|
||||
file: 'dist/index.js',
|
||||
format: 'es',
|
||||
},
|
||||
plugins: [esbuild({ sourceMap: true })],
|
||||
},
|
||||
];
|
||||
import config from '../../utils/rollup.config.js';
|
||||
export default {
|
||||
...config,
|
||||
};
|
||||
|
||||
20
src/Umbraco.Web.UI.Client/libs/context-api/package.json
Normal file
20
src/Umbraco.Web.UI.Client/libs/context-api/package.json
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"name": "@umbraco-cms/context-api",
|
||||
"version": "0.0.0",
|
||||
"description": "",
|
||||
"module": "index.js",
|
||||
"type": "module",
|
||||
"files": [
|
||||
"dist"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "rollup -c",
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"dependencies": {
|
||||
"lit": "^2.6.1",
|
||||
"@umbraco-cms/element": "^0.0.0"
|
||||
},
|
||||
"author": "Umbraco HQ",
|
||||
"license": "MIT"
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
import config from '../../utils/rollup.config.js';
|
||||
export default {
|
||||
...config,
|
||||
};
|
||||
16
src/Umbraco.Web.UI.Client/libs/controller/package.json
Normal file
16
src/Umbraco.Web.UI.Client/libs/controller/package.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"name": "@umbraco-cms/controller",
|
||||
"version": "0.0.0",
|
||||
"description": "",
|
||||
"module": "index.js",
|
||||
"type": "module",
|
||||
"files": [
|
||||
"dist"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "tsc && rollup -c",
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"author": "Umbraco HQ",
|
||||
"license": "MIT"
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
import config from '../../utils/rollup.config.js';
|
||||
export default {
|
||||
...config,
|
||||
};
|
||||
19
src/Umbraco.Web.UI.Client/libs/observable-api/package.json
Normal file
19
src/Umbraco.Web.UI.Client/libs/observable-api/package.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"name": "@umbraco-cms/observable-api",
|
||||
"version": "0.0.0",
|
||||
"description": "",
|
||||
"module": "index.js",
|
||||
"type": "module",
|
||||
"files": [
|
||||
"dist"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "tsc && rollup -c",
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"dependencies": {
|
||||
"rxjs": "^6.6.3"
|
||||
},
|
||||
"author": "Umbraco HQ",
|
||||
"license": "MIT"
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
import config from '../../utils/rollup.config.js';
|
||||
export default {
|
||||
...config,
|
||||
};
|
||||
16
src/Umbraco.Web.UI.Client/libs/resources/package.json
Normal file
16
src/Umbraco.Web.UI.Client/libs/resources/package.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"name": "@umbraco-cms/resources",
|
||||
"version": "0.0.0",
|
||||
"description": "",
|
||||
"module": "index.js",
|
||||
"type": "module",
|
||||
"files": [
|
||||
"dist"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "tsc && rollup -c",
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"author": "Umbraco HQ",
|
||||
"license": "MIT"
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
import config from '../../utils/rollup.config.js';
|
||||
export default {
|
||||
...config,
|
||||
};
|
||||
Reference in New Issue
Block a user