Initial version to monorepo-setup to start experimenting with, featuring a fork of @babel JSX-transformation, and a crude VDOM>DOM rendering-step. The Custom-Elements part is just a placeholder at this point but ready to be populated with base-classes and decorators.
This commit is contained in:
35
packages/csx-custom-elements/package.json
Normal file
35
packages/csx-custom-elements/package.json
Normal file
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"name": "csx-ce",
|
||||
"version": "0.0.1",
|
||||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
"@babel/cli": "latest",
|
||||
"@babel/core": "^7.6.2",
|
||||
"@babel/plugin-proposal-class-properties": "latest",
|
||||
"@babel/plugin-proposal-decorators": "latest",
|
||||
"@babel/plugin-proposal-export-default-from": "latest",
|
||||
"@babel/plugin-proposal-export-namespace-from": "latest",
|
||||
"@babel/plugin-proposal-nullish-coalescing-operator": "latest",
|
||||
"@babel/plugin-proposal-optional-chaining": "latest",
|
||||
"@babel/plugin-proposal-private-methods": "latest",
|
||||
"@babel/preset-env": "latest",
|
||||
"jsdoc": "latest",
|
||||
"rollup": "latest",
|
||||
"rollup-plugin-babel": "latest",
|
||||
"rollup-plugin-node-resolve": "latest",
|
||||
"rollup-plugin-commonjs": "latest",
|
||||
"rollup-plugin-terser": "latest",
|
||||
"rollup-plugin-json": "latest",
|
||||
"npm-run-all": "latest"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "npm-run-all -p build-cjs build-es6",
|
||||
"watch": "npm-run-all -p watch-cjs watch-es6",
|
||||
"build-cjs": "rollup -c",
|
||||
"watch-cjs": "rollup -c -w",
|
||||
"build-es6": "npx babel ./src --out-dir=lib --source-maps",
|
||||
"watch-es6": "npx babel ./src --out-dir=lib --source-maps -w"
|
||||
},
|
||||
"module": "./lib/index.js",
|
||||
"main": "./dist/index.js"
|
||||
}
|
||||
Reference in New Issue
Block a user