wtf_wikipedia
Version:
parse wikiscript into json
91 lines • 2.49 kB
JSON
{
"name": "wtf_wikipedia",
"description": "parse wikiscript into json",
"version": "10.4.1",
"main": "src/index.js",
"module": "builds/wtf_wikipedia.mjs",
"unpkg": "builds/wtf_wikipedia-client.min.js",
"browser": "builds/wtf_wikipedia-client.min.js",
"type": "module",
"exports": {
".": {
"import": {
"types": "./types/index.d.ts",
"default": "./src/index.js"
},
"require": {
"types": "./types/index.d.ts",
"default": "./builds/wtf_wikipedia.cjs"
}
}
},
"author": "Spencer Kelly <spencermountain@gmail.com> (http://spencermounta.in)",
"repository": {
"type": "git",
"url": "git://github.com/spencermountain/wtf_wikipedia.git"
},
"man": [
"./builds/man/wtf_wikipedia.1"
],
"types": "types/index.d.ts",
"scripts": {
"build": "node ./scripts/version.js && rollup -c",
"build:all": "node ./scripts/buildAll.js",
"coverage": "nyc -r lcov -n 'src/**/*' -n 'plugins/**/*' npm run test && npm run test:fetch",
"lint": "eslint ./src/ ./plugins ./tests",
"postinstall": "path-exists ./plugins && npm-recursive-install --rootDir=plugins || echo 'nothing to install'",
"start": "node ./scripts/demo.js",
"test": "NODE_NO_WARNINGS=1 tape ./tests/**/*.test.js | tap-dancer",
"testb": "TESTENV=prod npm run test",
"test:fetch": "tape ./tests/fetch/*.test.js | tap-dancer",
"test:integration": "tape ./tests/integration/*.test.js | tap-dancer",
"watch": "NODE_NO_WARNINGS=1 amble ./scratch.js"
},
"bin": {
"wtf_wikipedia": "./cli.js"
},
"engines": {
"node": ">=12.0.0"
},
"files": [
"builds",
"src",
"types"
],
"keywords": [
"wikipedia",
"wikimedia",
"wikipedia markup",
"wikiscript"
],
"prettier": {
"trailingComma": "es5",
"tabWidth": 2,
"semi": false,
"singleQuote": true,
"printWidth": 120
},
"dependencies": {
"isomorphic-unfetch": "^3.1.0",
"path-exists-cli": "2.0.0"
},
"devDependencies": {
"@rollup/plugin-commonjs": "29.0.0",
"@rollup/plugin-node-resolve": "16.0.3",
"@rollup/plugin-terser": "0.4.4",
"amble": "1.3.0",
"eslint": "9.39.1",
"eslint-plugin-compat": "6.0.2",
"eslint-plugin-regexp": "2.10.0",
"nyc": "17.1.0",
"recursive-install": "1.4.0",
"rollup": "4.53.3",
"shelljs": "0.10.0",
"tap-dancer": "0.3.4",
"tape": "5.9.0"
},
"eslintIgnore": [
"builds/*.js"
],
"license": "MIT"
}