1{
2 "name": "wonka",
3 "version": "2.0.0",
4 "author": "Phil Pluckthun <phil@kitten.sh>",
5 "source": "./src/index.js",
6 "main": "./dist/wonka.js",
7 "module": "./dist/wonka.es.js",
8 "jsnext:main": "./dist/wonka.es.js",
9 "types": "./src/index.d.ts",
10 "files": [
11 "src",
12 "lib/js",
13 "dist",
14 "docs/*.md",
15 "*.md",
16 "bsconfig.json"
17 ],
18 "scripts": {
19 "clean": "bsb -clean-world",
20 "build": "bsb -make-world",
21 "watch": "bsb -make-world -w",
22 "test": "jest",
23 "coverage": "jest -c ./.jest.coverage.json --coverage",
24 "test:watch": "jest --watch",
25 "terser:es": "terser --config-file .terser.config.json --module -o ./dist/wonka.es.js ./dist/wonka.es.js",
26 "terser:cjs": "terser --config-file .terser.config.json -o ./dist/wonka.js ./dist/wonka.js",
27 "terser": "run-p terser:es terser:cjs",
28 "prettier": "prettier --write ./dist/*.js",
29 "prebundle": "rimraf ./dist",
30 "bundle": "microbundle --external none --no-compress --no-sourcemap --format es,cjs",
31 "postbundle": "run-s terser prettier",
32 "prebundlesize": "run-s bundle",
33 "bundlesize": "bundlesize",
34 "prepublishOnly": "run-s clean build bundle test"
35 },
36 "keywords": [
37 "wonka",
38 "reason",
39 "bucklescript",
40 "callbag",
41 "callback",
42 "observable",
43 "iterable",
44 "stream"
45 ],
46 "repository": "https://github.com/kitten/wonka",
47 "homepage": "https://github.com/kitten/wonka",
48 "bugs": "https://github.com/kitten/wonka/issues",
49 "license": "MIT",
50 "dependencies": {
51 "bs-rebel": "^0.2.3"
52 },
53 "devDependencies": {
54 "@glennsl/bs-jest": "^0.4.6",
55 "bs-platform": "^4.0.17",
56 "bundlesize": "^0.17.0",
57 "coveralls": "^3.0.0",
58 "microbundle": "^0.9.0",
59 "npm-run-all": "^4.1.5",
60 "prettier": "^1.15.3",
61 "rimraf": "^2.6.3",
62 "terser": "^3.14.1"
63 },
64 "prettier": {
65 "printWidth": 100
66 },
67 "jest": {
68 "moduleFileExtensions": [
69 "js"
70 ],
71 "testMatch": [
72 "**/lib/js/__tests__/*_test.js"
73 ]
74 },
75 "bundlesize": [
76 {
77 "path": "./dist/wonka.es.js",
78 "maxSize": "9 kB"
79 }
80 ]
81}