janadom
Version:
A minimal and complete implementation of React JSX creating native DOM elements.
87 lines (86 loc) • 2.14 kB
JSON
{
"name": "janadom",
"version": "0.1.2",
"description": "A minimal and complete implementation of React JSX creating native DOM elements.",
"homepage": "https://github.com/prantlf/janadom#readme",
"author": {
"name": "Ferdinand Prantl",
"email": "prantlf@gmail.com",
"url": "http://prantl.tk"
},
"repository": {
"type": "git",
"url": "https://github.com/prantlf/janadom.git"
},
"bugs": {
"url": "https://github.com/prantlf/janadom/issues"
},
"license": "MIT",
"licenses": [
{
"type": "MIT",
"url": "https://github.com/prantlf/janadom/blob/master/LICENSE"
}
],
"engines": {
"node": ">=12"
},
"main": "dist/index.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"prepare": "node tools/generate-svg-tags && node tools/build dist && tsc --emitDeclarationOnly --declaration --outDir dist src/index.ts && rm dist/svg-tags.d.ts",
"build": "node tools/build dist",
"watch": "node tools/build watch",
"precheck": "node tools/build check",
"check": "node test/coded.test && node test/compiled.test",
"pretest": "node tools/build test",
"test": "c8 node -r source-map-support/register test"
},
"c8": {
"extension": [
".ts"
],
"include": [
"src/*",
"dist/*"
],
"check-coverage": true,
"reporter": [
"lcov",
"text-summary"
],
"branches": 95,
"lines": 100,
"functions": 100,
"statements": 100
},
"devDependencies": {
"@babel/cli": "^7.13.0",
"@babel/core": "^7.13.8",
"@babel/plugin-transform-modules-commonjs": "^7.13.8",
"@babel/plugin-transform-react-jsx": "^7.12.17",
"@prantlf/baretest": "^2.0.1",
"@prantlf/esbuild": "^0.8.46",
"@types/node": "^14.14.32",
"c8": "^7.6.0",
"dom-lite": "^20.2.0",
"html-tag-names": "^1.1.5",
"source-map-support": "^0.5.19",
"svg-tag-names": "^2.0.1",
"typescript": "^4.2.3"
},
"keywords": [
"jsx",
"tsx",
"native",
"dom",
"jsx-dom",
"jsx-native-dom",
"node",
"browser"
]
}