preact-jsx-runtime
Version:
Preact JSX runtime definition for use with automatic JSX import
68 lines (67 loc) • 1.74 kB
JSON
{
"name": "preact-jsx-runtime",
"version": "1.2.0",
"description": "Preact JSX runtime definition for use with automatic JSX import",
"main": "jsx-runtime",
"module": "jsx-runtime.js",
"type": "module",
"exports": {
"./jsx-runtime": {
"import": "./jsx-runtime.js",
"require": "./jsx-runtime"
}
},
"sideEffects": false,
"keywords": [
"preact",
"jsx",
"runtime",
"jsx-runtime"
],
"scripts": {
"build": "babel --plugins @babel/transform-modules-commonjs jsx-runtime.js -o jsx-runtime",
"prepublishOnly": "npm run build",
"test:lint": "eslint jsx-runtime.js test",
"test:typescript": "npx tsc",
"test:unit": "mocha",
"test": "run-p test:*"
},
"author": {
"name": "Andrew Duthie",
"email": "andrew@andrewduthie.com",
"url": "https://andrewduthie.com"
},
"homepage": "https://github.com/aduth/preact-jsx-runtime",
"repository": {
"type": "git",
"url": "https://github.com/aduth/preact-jsx-runtime.git"
},
"bugs": {
"url": "https://github.com/aduth/preact-jsx-runtime/issues"
},
"license": "MIT",
"files": [
"jsx-runtime",
"jsx-runtime.js"
],
"peerDependencies": {
"preact": "*"
},
"devDependencies": {
"@babel/cli": "^7.11.6",
"@babel/core": "^7.11.6",
"@babel/plugin-transform-modules-commonjs": "^7.10.4",
"@babel/preset-react": "^7.10.4",
"chai": "^4.2.0",
"eslint": "^7.9.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.4",
"mocha": "^8.1.3",
"npm-run-all": "^4.1.5",
"preact": "^10.4.7",
"preact-jsx-runtime": "file:.",
"preact-render-to-string": "^5.1.10",
"prettier": "^2.1.1",
"typescript": "^4.0.2"
}
}