UNPKG

@tricoteuses/arbre-de-la-loi

Version:

Generate ASTs from the French bills & laws; manipulate & export them to Markdown, etc.

100 lines (99 loc) 3.12 kB
{ "name": "@tricoteuses/arbre-de-la-loi", "version": "0.5.1", "description": "Generate ASTs from the French bills & laws; manipulate & export them to Markdown, etc.", "keywords": [ "Assemblée nationale", "France", "Journal officiel", "law", "Parliament", "Sénat" ], "author": "Emmanuel Raviart <emmanuel@raviart.com>", "bugs": { "url": "https://git.en-root.org/tricoteuses/tricoteuses-arbre-de-la-loi/issues" }, "homepage": "https://git.en-root.org/tricoteuses/arbre-de-la-loi", "license": "AGPL-3.0-or-later", "repository": { "type": "git", "url": "https://git.en-root.org/tricoteuses/tricoteuses-arbre-de-la-loi.git" }, "main": "lib/index.js", "types": "lib/index.d.ts", "files": [ "lib" ], "exports": { ".": { "import": "./lib/index.mjs", "require": "./lib/index.js" }, "./package.json": "./package.json" }, "publishConfig": { "access": "public" }, "scripts": { "build": "npm run build:types && npm run build:mjs && npm run build:cjs", "build:cjs": "babel src --out-dir lib --extensions \".ts\" --source-maps inline", "build:mjs": "tsc && for file in lib/*.js lib/**/*.js; do new_file=`echo $file | sed 's/.js/.mjs/'`; mv $file $new_file; done", "build:types": "tsc --emitDeclarationOnly", "prepublishOnly": "npm run build", "prettier": "prettier --write 'src/**/*.ts'", "test": "TS_NODE_PROJECT=\"tsconfig.testing.json\" mocha -r ts-node/register **/*.test.ts", "type-check": "tsc --noEmit", "type-check:watch": "npm run type-check -- --watch" }, "engines": { "node": ">=14" }, "dependencies": { "@tricoteuses/assemblee": "^0.21.0", "dedent-js": "^1.0.1", "deep-equal": "^2.0.5", "hast-util-from-parse5": "^6.0.1", "hast-util-to-html": "^7.1.2", "hast-util-to-mdast": "^7.1.3", "hast-util-to-string": "^1.0.4", "mdast-util-gfm-table": "^0.1.6", "mdast-util-to-markdown": "^0.6.5", "parse5": "^6.0.1", "prettier": "^2.2.1", "unist-util-inspect": "^6.0.1", "unist-util-remove-position": "^3.0.0", "vfile": "^4.2.1", "xast-util-from-xml": "^1.0.1", "xast-util-to-string": "^1.0.0" }, "devDependencies": { "@babel/cli": "^7.11.6", "@babel/core": "^7.11.6", "@babel/node": "^7.10.5", "@babel/plugin-proposal-class-properties": "^7.10.4", "@babel/plugin-syntax-dynamic-import": "^7.8.3", "@babel/preset-env": "^7.11.5", "@babel/preset-typescript": "^7.10.4", "@babel/register": "^7.7.7", "@types/chai": "^4.2.15", "@types/command-line-args": "^5.0.0", "@types/deep-equal": "^1.0.1", "@types/fs-extra": "^9.0.7", "@types/mocha": "^8.2.1", "@types/node": "^14.14.27", "@types/node-fetch": "^2.5.4", "@types/prettier": "^2.2.2", "chai": "^4.3.3", "command-line-args": "^5.1.1", "core-js": "^3.6.1", "eslint": "^7.20.0", "fs-extra": "^9.1.0", "mocha": "^8.3.1", "node-fetch": "^2.6.0", "regenerator-runtime": "^0.13.3", "ts-node": "^9.1.1", "tslib": "^2.1.0", "typescript": "^4.1.5" } }