package.json
{
"name": "@riotjs/compiler",
"version": "6.4.2",
"description": "Compiler for Riot.js .riot files",
"main": "./dist/index.cjs",
"types": "./compiler.d.ts",
"type": "module",
"exports": {
"types": "./compiler.d.ts",
"require": "./dist/index.cjs",
"import": "./dist/index.js"
},
"files": [
"dist",
"src",
"compiler.d.ts"
],
"scripts": {
"lint": "eslint --ext js src/ test/ build/ && npx prettier --check ./",
"cov": "c8 report --reporter=lcov",
"cov-html": "c8 report --reporter=html",
"build": "rollup -c build/rollup.node.config.js && rollup -c build/rollup.browser.config.js && rollup -c build/rollup.essential.config.js",
"postest": "npm run cov-html",
"test-types": "tsc -p test",
"test-runtime": "karma start test/karma.conf.cjs",
"test": "c8 mocha test/*.spec.js test/**/*.spec.js && npm run test-types",
"debug": "mocha --inspect --inspect-brk test/*.spec.js test/**/*.spec.js",
"prepublishOnly": "npm run build && npm run lint && npm run test && npm run test-runtime"
},
"repository": {
"type": "git",
"url": "git+https://github.com/riot/compiler.git"
},
"keywords": [
"riot",
"Riot.js",
"components",
"custom components",
"custom elements",
"compiler"
],
"devDependencies": {
"@babel/core": "^7.21.4",
"@babel/preset-env": "^7.21.4",
"@riotjs/dom-bindings": "^6.0.7",
"@riotjs/prettier-config": "^1.0.1",
"@rollup/plugin-alias": "^5.0.0",
"@rollup/plugin-commonjs": "^24.1.0",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.0.2",
"acorn": "^8.8.2",
"c8": "^7.13.0",
"chai": "^4.3.7",
"eslint": "^8.39.0",
"eslint-config-prettier": "^8.8.0",
"eslint-config-riot": "^4.0.0",
"eslint-plugin-fp": "^2.3.0",
"esm": "^3.2.25",
"karma": "^6.4.2",
"karma-chrome-launcher": "^3.2.0",
"karma-mocha": "^2.0.1",
"mocha": "^10.2.0",
"prettier": "^2.8.8",
"pug": "^3.0.2",
"rollup": "^3.21.0",
"rollup-plugin-node-builtins": "^2.1.2",
"rollup-plugin-visualizer": "^5.9.0",
"sass": "^1.62.0",
"shelljs": "^0.8.5",
"typescript": "^5.0.4"
},
"author": "Gianluca Guarini <gianluca.guarini@gmail.com> (http://gianlucaguarini.com)",
"license": "MIT",
"bugs": {
"url": "https://github.com/riot/compiler/issues"
},
"homepage": "https://github.com/riot/compiler#readme",
"dependencies": {
"@babel/parser": "^7.21.4",
"@riotjs/parser": "^5.0.0",
"@riotjs/util": "2.2.1",
"cssesc": "^3.0.0",
"cumpa": "^2.0.1",
"curri": "^2.0.3",
"dom-nodes": "^1.1.3",
"globals": "^13.20.0",
"recast": "^0.20.5",
"source-map": "^0.7.4"
}
}