93 lines
2.4 KiB
JSON
93 lines
2.4 KiB
JSON
{
|
|
"name": "@riotjs/route",
|
|
"version": "10.0.0",
|
|
"description": "Riot.js isomorphic router",
|
|
"type": "module",
|
|
"main": "index.umd.js",
|
|
"jsnext:main": "index.js",
|
|
"module": "index.js",
|
|
"exports": {
|
|
".": {
|
|
"types": "./index.d.ts",
|
|
"import": "./index.js",
|
|
"require": "./index.umd.js",
|
|
"browser": "./index.umd.js"
|
|
},
|
|
"./standalone": {
|
|
"types": "./index.d.ts",
|
|
"import": "./index.standalone.js",
|
|
"require": "./index.standalone.umd.js",
|
|
"browser": "./index.standalone.umd.js"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"prepublishOnly": "npm run build && npm test",
|
|
"lint": "eslint src test rollup.config.js && prettier -c .",
|
|
"build": "rollup -c && npm run build-demo",
|
|
"build-demo": "riot demos/components -o demos/components",
|
|
"demo": "npm run build && serve",
|
|
"cov": "c8 report --reporter=lcov",
|
|
"cov-html": "c8 report --reporter=html",
|
|
"test": "npm run lint && c8 mocha -r test/setup.js test/*.spec.js"
|
|
},
|
|
"files": [
|
|
"index.d.ts",
|
|
"index.js",
|
|
"index.umd.js",
|
|
"index.standalone.js",
|
|
"index.standalone.umd.js"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/riot/route.git"
|
|
},
|
|
"keywords": [
|
|
"riot",
|
|
"Riot.js",
|
|
"router",
|
|
"riot-route",
|
|
"route"
|
|
],
|
|
"author": "Gianluca Guarini <gianluca.guarini@gmail.com> (https://gianlucaguarini.com)",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/riot/route/issues"
|
|
},
|
|
"homepage": "https://github.com/riot/route#readme",
|
|
"devDependencies": {
|
|
"@riotjs/cli": "10.0.0",
|
|
"@riotjs/compiler": "10.0.0",
|
|
"@riotjs/prettier-config": "^1.1.0",
|
|
"@riotjs/register": "10.0.0",
|
|
"@rollup/plugin-commonjs": "^28.0.6",
|
|
"@rollup/plugin-node-resolve": "^16.0.1",
|
|
"@rollup/plugin-virtual": "^3.0.2",
|
|
"c8": "^10.1.3",
|
|
"chai": "^6.0.1",
|
|
"eslint": "^9.33.0",
|
|
"eslint-config-riot": "^5.0.2",
|
|
"globals": "^16.3.0",
|
|
"jsdom": "26.1.0",
|
|
"jsdom-global": "3.0.2",
|
|
"mocha": "^11.7.1",
|
|
"prettier": "^3.6.2",
|
|
"riot": "^10.0.0",
|
|
"rollup": "^4.47.1",
|
|
"rollup-plugin-riot": "10.0.0",
|
|
"serve": "^14.2.4",
|
|
"sinon": "^21.0.0",
|
|
"sinon-chai": "^4.0.1"
|
|
},
|
|
"peerDependency": {
|
|
"riot": "^6.0.0 || ^7.0.0 || ^9.0.0 || ^10.0.0"
|
|
},
|
|
"dependencies": {
|
|
"@riotjs/util": "^10.0.0",
|
|
"bianco.attr": "^1.1.1",
|
|
"bianco.events": "^1.1.1",
|
|
"bianco.query": "^1.1.4",
|
|
"cumpa": "^2.0.1",
|
|
"rawth": "^3.0.0"
|
|
}
|
|
}
|