122 lines
4.1 KiB
JSON
122 lines
4.1 KiB
JSON
{
|
|
"_args": [
|
|
[
|
|
"htm@3.0.4",
|
|
"/home/runner/work/owncast/owncast/build/javascript"
|
|
]
|
|
],
|
|
"_from": "htm@3.0.4",
|
|
"_id": "htm@3.0.4",
|
|
"_inBundle": false,
|
|
"_integrity": "sha512-VRdvxX3tmrXuT/Ovt59NMp/ORMFi4bceFMDjos1PV4E0mV+5votuID8R60egR9A4U8nLt238R/snlJGz3UYiTQ==",
|
|
"_location": "/htm",
|
|
"_phantomChildren": {},
|
|
"_requested": {
|
|
"type": "version",
|
|
"registry": true,
|
|
"raw": "htm@3.0.4",
|
|
"name": "htm",
|
|
"escapedName": "htm",
|
|
"rawSpec": "3.0.4",
|
|
"saveSpec": null,
|
|
"fetchSpec": "3.0.4"
|
|
},
|
|
"_requiredBy": [
|
|
"/"
|
|
],
|
|
"_resolved": "https://registry.npmjs.org/htm/-/htm-3.0.4.tgz",
|
|
"_spec": "3.0.4",
|
|
"_where": "/home/runner/work/owncast/owncast/build/javascript",
|
|
"author": {
|
|
"name": "Jason Miller",
|
|
"email": "jason@developit.ca"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/developit/htm/issues"
|
|
},
|
|
"description": "The Tagged Template syntax for Virtual DOM. Only browser-compatible syntax.",
|
|
"devDependencies": {
|
|
"@babel/core": "^7.2.2",
|
|
"@babel/preset-env": "^7.1.6",
|
|
"babel-jest": "^24.1.0",
|
|
"babel-preset-env": "^1.7.0",
|
|
"eslint": "^5.2.0",
|
|
"eslint-config-developit": "^1.1.1",
|
|
"jest": "^24.1.0",
|
|
"microbundle": "^0.10.1",
|
|
"preact": "^10.0.0",
|
|
"react": "^16.8.3"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": "developit",
|
|
"rules": {
|
|
"prefer-const": 0,
|
|
"prefer-spread": 0,
|
|
"prefer-rest-params": 0,
|
|
"func-style": 0
|
|
}
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"mini",
|
|
"preact",
|
|
"react",
|
|
"src"
|
|
],
|
|
"homepage": "https://github.com/developit/htm",
|
|
"jest": {
|
|
"testURL": "http://localhost",
|
|
"testMatch": [
|
|
"**/__tests__/**/*.?(m)js?(x)",
|
|
"**/?(*.)(spec|test).?(m)js?(x)"
|
|
],
|
|
"transform": {
|
|
"\\.m?js$": "babel-jest"
|
|
},
|
|
"moduleFileExtensions": [
|
|
"mjs",
|
|
"js"
|
|
],
|
|
"moduleNameMapper": {
|
|
"^babel-plugin-transform-jsx-to-htm$": "<rootDir>/packages/babel-plugin-transform-jsx-to-htm/index.mjs",
|
|
"^babel-plugin-htm$": "<rootDir>/packages/babel-plugin-htm/index.mjs",
|
|
"^htm$": "<rootDir>/src/index.mjs",
|
|
"^htm/preact$": "<rootDir>/src/integrations/preact/index.mjs"
|
|
}
|
|
},
|
|
"keywords": [
|
|
"Hyperscript Tagged Markup",
|
|
"tagged template",
|
|
"template literals",
|
|
"html",
|
|
"htm",
|
|
"jsx",
|
|
"virtual dom",
|
|
"hyperscript"
|
|
],
|
|
"license": "Apache-2.0",
|
|
"main": "dist/htm.js",
|
|
"module": "dist/htm.module.js",
|
|
"name": "htm",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/developit/htm.git"
|
|
},
|
|
"scripts": {
|
|
"build": "npm run -s build:main && npm run -s build:mini && npm run -s build:preact && npm run -s build:react && npm run -s build:babel && npm run -s build:babel-transform-jsx && npm run -s build:mjsalias",
|
|
"build:babel": "cd packages/babel-plugin-htm && npm run build",
|
|
"build:babel-transform-jsx": "cd packages/babel-plugin-transform-jsx-to-htm && npm run build",
|
|
"build:main": "microbundle src/index.mjs -f es,umd --no-sourcemap --target web && microbundle src/cjs.mjs -f iife --no-sourcemap --target web && cp src/index.d.ts dist/htm.d.ts",
|
|
"build:mini": "microbundle src/index.mjs -o ./mini/index.js -f es,umd --no-sourcemap --target web --alias ./constants.mjs=./constants-mini.mjs && microbundle src/cjs.mjs -o ./mini/index.js -f iife --no-sourcemap --target web --alias ./constants.mjs=./constants-mini.mjs && cp src/index.d.ts mini",
|
|
"build:mjsalias": "cp dist/htm.module.js dist/htm.mjs && cp mini/index.module.js mini/index.mjs && cp preact/index.module.js preact/index.mjs && cp preact/standalone.module.js preact/standalone.mjs && cp react/index.module.js react/index.mjs",
|
|
"build:preact": "cd src/integrations/preact && npm run build",
|
|
"build:react": "cd src/integrations/react && npm run build",
|
|
"release": "npm t && git commit -am \"$npm_package_version\" && git tag $npm_package_version && git push && git push --tags && npm publish",
|
|
"test": "eslint src/**/*.mjs test/**/*.mjs && npm run build && jest test",
|
|
"test:perf": "v8 test/__perftest.mjs"
|
|
},
|
|
"types": "dist/htm.d.ts",
|
|
"umd:main": "dist/htm.umd.js",
|
|
"version": "3.0.4"
|
|
}
|