110 lines
2.8 KiB
JSON
110 lines
2.8 KiB
JSON
{
|
|
"name": "wonka",
|
|
"description": "A tiny but capable push & pull stream library for TypeScript and Flow",
|
|
"version": "6.3.5",
|
|
"author": "0no.co <hi@0no.co>",
|
|
"source": "./src/index.ts",
|
|
"main": "./dist/wonka",
|
|
"module": "./dist/wonka.mjs",
|
|
"types": "./dist/wonka.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/wonka.d.ts",
|
|
"import": "./dist/wonka.mjs",
|
|
"require": "./dist/wonka.js",
|
|
"source": "./src/index.ts"
|
|
},
|
|
"./package.json": "./package.json"
|
|
},
|
|
"sideEffects": false,
|
|
"files": [
|
|
"src",
|
|
"dist",
|
|
"docs/*.md",
|
|
"index.js.flow",
|
|
"*.md"
|
|
],
|
|
"keywords": [
|
|
"wonka",
|
|
"typescript",
|
|
"events",
|
|
"callbag",
|
|
"callback",
|
|
"observable",
|
|
"iterable",
|
|
"stream"
|
|
],
|
|
"repository": "https://github.com/0no-co/wonka",
|
|
"bugs": {
|
|
"url": "https://github.com/0no-co/wonka/issues"
|
|
},
|
|
"license": "MIT",
|
|
"prettier": {
|
|
"singleQuote": true,
|
|
"tabWidth": 2,
|
|
"printWidth": 100
|
|
},
|
|
"lint-staged": {
|
|
"*.{ts,js}": "eslint -c scripts/eslint-preset.js --fix",
|
|
"*.json": "prettier --write",
|
|
"*.md": "prettier --write"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged --quiet --relative"
|
|
}
|
|
},
|
|
"eslintConfig": {
|
|
"root": true,
|
|
"extends": [
|
|
"./scripts/eslint-preset.js"
|
|
]
|
|
},
|
|
"publishConfig": {
|
|
"provenance": true
|
|
},
|
|
"devDependencies": {
|
|
"@changesets/cli": "^2.27.1",
|
|
"@changesets/get-github-info": "^0.6.0",
|
|
"@rollup/plugin-buble": "^1.0.1",
|
|
"@rollup/plugin-commonjs": "^23.0.3",
|
|
"@rollup/plugin-node-resolve": "^15.0.1",
|
|
"@rollup/plugin-sucrase": "^5.0.1",
|
|
"@rollup/plugin-terser": "^0.1.0",
|
|
"@rollup/pluginutils": "^5.0.2",
|
|
"@types/zen-observable": "^0.8.3",
|
|
"@typescript-eslint/eslint-plugin": "^5.45.0",
|
|
"@typescript-eslint/parser": "^5.45.0",
|
|
"callbag-from-iter": "^1.3.0",
|
|
"callbag-iterate": "^1.0.0",
|
|
"callbag-take": "^1.5.0",
|
|
"dotenv": "^16.0.3",
|
|
"eslint": "^8.29.0",
|
|
"eslint-config-prettier": "^8.5.0",
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
"eslint-plugin-tsdoc": "^0.2.17",
|
|
"flowgen": "^1.21.0",
|
|
"glob": "^8.0.3",
|
|
"husky-v4": "^4.3.8",
|
|
"lint-staged": "^13.0.4",
|
|
"npm-run-all": "^4.1.5",
|
|
"prettier": "^2.8.0",
|
|
"rimraf": "^3.0.2",
|
|
"rollup": "^3.5.1",
|
|
"rollup-plugin-cjs-check": "^1.0.1",
|
|
"rollup-plugin-dts": "^5.1.1",
|
|
"tslib": "^2.4.1",
|
|
"typescript": "^4.9.5",
|
|
"vitest": "^1.2.2",
|
|
"zen-observable": "^0.10.0"
|
|
},
|
|
"scripts": {
|
|
"test": "vitest run",
|
|
"check": "tsc",
|
|
"lint": "eslint --ext=js,ts .",
|
|
"build": "rollup -c scripts/rollup.config.mjs",
|
|
"clean": "rimraf dist node_modules/.cache",
|
|
"changeset:version": "changeset version && pnpm install --lockfile-only",
|
|
"changeset:publish": "changeset publish"
|
|
}
|
|
} |