Miel Truyen 4ca54727f1 Fixed a bug relating to custom-elements's first vnode where render(){ return <div class="example" /> } would set the example-class on the custom-element itself.
Added support for className and style similar to react
Cleaned up some comments
Reworked how tests are built in order to add a new test "pdf" which was a small side-project where previous mentioned bug showed up, it's an example using HTML to create a PDF for printing
2019-12-21 21:48:38 +01:00

45 lines
1.5 KiB
JSON

{
"name": "@cerxes/babel-plugin-transform-csx",
"version": "0.0.1",
"author": "Miel Truyen <miel.truyen@cerxes.net>",
"description": "CSX is a minimalistic UI-framework inspired by React+JSX for usage with WebComponents.",
"repository": {
"type": "git",
"url": "https://git.cerxes.net/cerxes/csx.git"
},
"devDependencies": {
"esutils": "^2.0.3",
"@babel/cli": "csx",
"@babel/plugin-proposal-class-properties": "csx",
"@babel/plugin-proposal-decorators": "csx",
"@babel/plugin-proposal-export-default-from": "csx",
"@babel/plugin-proposal-export-namespace-from": "csx",
"@babel/plugin-proposal-nullish-coalescing-operator": "csx",
"@babel/plugin-proposal-optional-chaining": "csx",
"@babel/plugin-proposal-private-methods": "csx",
"@babel/preset-env": "csx",
"@babel/helper-builder-react-jsx": "csx",
"@babel/helper-plugin-utils": "^7.0.0",
"@babel/plugin-syntax-jsx": "csx",
"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",
"rollup-plugin-postcss": "latest",
"npm-run-all": "latest"
},
"dependencies":{
"@babel/core": "csx"
},
"scripts": {
"build": "rollup -c",
"watch": "rollup -c -w",
"npm-publish": "npm run build && npm publish --registry https://npm.cerxes.net --tag latest"
},
"module": "./src/index.js",
"main": "./dist/index.js"
}