UNPKG

@10nm/tsx-dom

Version:

A simple way to use tsx syntax to create native dom elements using document.createElement.

77 lines (76 loc) 2.29 kB
{ "name": "@10nm/tsx-dom", "version": "1.4.1", "description": "A simple way to use tsx syntax to create native dom elements using document.createElement.", "keywords": [ "TypeScript", "tsx", "jsx", "create-element" ], "homepage": "https://github.com/redwarnwp/tsx-dom", "bugs": { "url": "https://github.com/redwarnwp/tsx-dom/issues" }, "repository": { "type": "git", "url": "https://github.com/redwarnwp/tsx-dom.git" }, "license": "MIT", "author": "Santo Pfingsten", "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist" ], "scripts": { "build": "rimraf dist && tsc -p ./tsconfig.build.json", "coveralls": "cat ./coverage/lcov.info | coveralls", "lint": "npm run lint:es && npm run lint:package && npm run lint:style", "lint:es": "eslint \"{src,test}/**/*.{ts,tsx}\" --ext \".ts,.tsx\" --ignore-path .prettierignore", "lint:es:fix": "npm run lint:es -- --fix", "lint:fix": "npm run lint:es:fix && npm run lint:package:fix && npm run lint:style:fix", "lint:package": "sort-package-json --check", "lint:package:fix": "sort-package-json", "lint:style": "npm run lint:style:base -- --check", "lint:style:base": "prettier \"{src,test}/**/*.{ts,tsx,js,json}\" \"./*.{ts,tsx,js,json}\"", "lint:style:fix": "npm run lint:style:base -- --write", "test": "nyc mocha --require source-map-support/register --require ts-node/register \"test/**/*.tsx\"" }, "nyc": { "all": true, "exclude": [ "coverage/**/*", "test/**/*", "dist/**/*", "**/*.d.ts", "./*.js" ], "extension": [ ".ts", ".tsx" ], "reporter": [ "lcov" ], "require": [ "ts-node/register", "source-map-support/register" ] }, "devDependencies": { "@lusito/eslint-config": "^2.0.3", "@lusito/prettier-config": "^2.0.0", "@types/chai": "^4.3.1", "@types/mocha": "^9.1.1", "chai": "^4.3.6", "coveralls": "^3.1.1", "mocha": "^10.0.0", "nyc": "^15.1.0", "rimraf": "^3.0.2", "sort-package-json": "^1.57.0", "source-map-support": "^0.5.21", "ts-node": "^10.8.0", "typescript": "^4.7.2" } }