wonka
Version:
A fast push & pull stream library for Reason, loosely following the [callbag spec](https://github.com/callbag/callbag)
82 lines (81 loc) • 2.1 kB
JSON
{
"name": "wonka",
"version": "1.4.3",
"author": "Phil Pluckthun <phil@kitten.sh>",
"source": "./src/index.js",
"main": "./dist/wonka.js",
"module": "./dist/wonka.es.js",
"jsnext:main": "./dist/wonka.es.js",
"types": "./src/index.d.ts",
"files": [
"src",
"lib/js",
"dist",
"docs/*.md",
"*.md",
"bsconfig.json"
],
"scripts": {
"clean": "bsb -clean-world",
"build": "bsb -make-world",
"watch": "bsb -make-world -w",
"test": "jest",
"coverage": "jest -c ./.jest.coverage.json --coverage",
"test:watch": "jest --watch",
"terser:es": "terser --config-file .terser.config.json --module -o ./dist/wonka.es.js ./dist/wonka.es.js",
"terser:cjs": "terser --config-file .terser.config.json -o ./dist/wonka.js ./dist/wonka.js",
"terser": "run-p terser:es terser:cjs",
"prettier": "prettier --write ./dist/*.js",
"prebundle": "rimraf ./dist",
"bundle": "microbundle --external none --no-compress --no-sourcemap --format es,cjs",
"postbundle": "run-s terser prettier",
"prebundlesize": "run-s bundle",
"bundlesize": "bundlesize",
"prepublishOnly": "run-s clean build bundle test"
},
"keywords": [
"wonka",
"reason",
"bucklescript",
"callbag",
"callback",
"observable",
"iterable",
"stream"
],
"repository": "https://github.com/kitten/wonka",
"homepage": "https://github.com/kitten/wonka",
"bugs": "https://github.com/kitten/wonka/issues",
"license": "MIT",
"dependencies": {
"bs-rebel": "^0.2.3"
},
"devDependencies": {
"@glennsl/bs-jest": "^0.4.6",
"bs-platform": "^4.0.17",
"bundlesize": "^0.17.0",
"coveralls": "^3.0.0",
"microbundle": "^0.9.0",
"npm-run-all": "^4.1.5",
"prettier": "^1.15.3",
"rimraf": "^2.6.3",
"terser": "^3.14.1"
},
"prettier": {
"printWidth": 100
},
"jest": {
"moduleFileExtensions": [
"js"
],
"testMatch": [
"**/lib/js/__tests__/*_test.js"
]
},
"bundlesize": [
{
"path": "./dist/wonka.es.js",
"maxSize": "9 kB"
}
]
}