mancha
Version:
Javscript HTML rendering engine
91 lines (90 loc) • 2.42 kB
JSON
{
"name": "mancha",
"version": "0.19.11",
"description": "Javscript HTML rendering engine",
"main": "dist/index.js",
"type": "module",
"types": "dist/index.d.ts",
"unpkg": "dist/mancha.js",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./browser": {
"types": "./dist/browser.d.ts",
"default": "./dist/browser.js"
},
"./dist/*.js": {
"types": "./dist/*.d.ts",
"default": "./dist/*.js"
}
},
"scripts": {
"clean": "rm -rf dist/",
"build": "gulp build",
"pretest": "npm run build",
"test:node": "mocha 'dist/**/*.test.js' --ignore 'dist/browser.test.js'",
"test:browser": "web-test-runner 'dist/**/*.test.js' '!dist/cli.test.js' '!dist/ssr.test.js' '!dist/index.test.js' '!dist/worker.test.js' '!dist/type_checker.test.js' --node-resolve --compatibility all --playwright --browsers chromium --no-sandbox",
"test": "npm run test:node && npm run test:browser",
"check:size": "brotli -c dist/mancha.js | wc -c",
"cli": "node dist/cli.js",
"gen:docs": "tsx scripts/generate-css-docs.ts",
"lint": "biome check .",
"lint:fix": "biome check --write ."
},
"bin": {
"mancha": "dist/cli.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/fresho-dev/mancha.git"
},
"keywords": [
"templating",
"rendering",
"reactive",
"html"
],
"author": "contact@fresho.dev",
"license": "MIT",
"dependencies": {
"dom-serializer": "^2.0.0",
"glob": "^10.3.10",
"htmlparser2": "^9.1.0",
"jsdom": "^27.0.1",
"safevalues": "^0.6.0",
"typescript": "^5.9.3",
"yargs": "^17.7.2"
},
"devDependencies": {
"@biomejs/biome": "^2.3.10",
"@types/chai": "^5.2.3",
"@types/chai-as-promised": "^8.0.1",
"@types/glob": "^8.1.0",
"@types/gulp": "^4.0.18",
"@types/gulp-csso": "^4.0.5",
"@types/jsdom": "^21.1.6",
"@types/mocha": "^10.0.10",
"@types/node": "^20.12.11",
"@types/path-browserify": "^1.0.1",
"@types/trusted-types": "^2.0.7",
"@types/yargs": "^17.0.29",
"@web/test-runner": "^0.19.0",
"@web/test-runner-playwright": "^0.11.1",
"chai": "^5.3.3",
"chai-as-promised": "^8.0.1",
"csso": "^5.0.5",
"gulp": "^5.0.0",
"gulp-csso": "^4.0.1",
"gulp-typescript": "^6.0.0-alpha.1",
"mocha": "^11.0.1",
"static-server": "^3.0.0",
"ts-node": "^10.9.2",
"tsdown": "^0.18.3",
"tsec": "^0.2.8",
"tsx": "^4.21.0",
"typescript": "^5.9.3",
"yargs": "^17.7.2"
}
}