1 | {
|
2 | "name": "blob-util",
|
3 | "version": "2.0.2",
|
4 | "description": "Utilities for working with Blob objects in the browser",
|
5 | "main": "dist/blob-util.cjs.js",
|
6 | "module": "dist/blob-util.es.js",
|
7 | "types": "dist/blob-util.d.ts",
|
8 | "repository": {
|
9 | "type": "git",
|
10 | "url": "git://github.com/nolanlawson/blob-util.git"
|
11 | },
|
12 | "keywords": [
|
13 | "blob",
|
14 | "blobs",
|
15 | "binary",
|
16 | "util",
|
17 | "utils"
|
18 | ],
|
19 | "author": "Nolan Lawson <nolan.lawson@gmail.com>",
|
20 | "license": "Apache-2.0",
|
21 | "bugs": {
|
22 | "url": "https://github.com/nolanlawson/blob-util/issues"
|
23 | },
|
24 | "scripts": {
|
25 | "lint": "standard test/*js bin/*js && tslint src/*ts",
|
26 | "test": "npm run build && npm run lint && zuul --no-coverage ./test/test.js",
|
27 | "test-local": "npm run build && zuul ./test/test.js --local 9000 --no-coverage",
|
28 | "clean": "rimraf dist lib && mkdirp dist lib",
|
29 | "prepublish": "npm run build",
|
30 | "build": "run-s clean build-ts build-js min",
|
31 | "build-ts": "tsc src/blob-util.ts --target ES6 --module es2015 --outDir lib -d && cpy lib/blob-util.d.ts dist/",
|
32 | "build-js": "run-p build-es build-cjs build-umd && rimraf lib",
|
33 | "build-es": "rollup -i lib/blob-util.js -f es -o dist/blob-util.es.js",
|
34 | "build-cjs": "rollup -i lib/blob-util.js -f cjs -o dist/blob-util.cjs.js",
|
35 | "build-umd": "rollup -i lib/blob-util.js -f umd -n blobUtil -o dist/blob-util.js",
|
36 | "min": "uglifyjs dist/blob-util.js -mc > dist/blob-util.min.js",
|
37 | "doc": "run-s cleanup-doc gen-doc gen-readme cleanup-doc",
|
38 | "gen-doc": "typedoc --out docs-tmp --target ES6 --theme markdown --mdHideSources --excludePrivate --exclude private.ts src",
|
39 | "gen-readme": "node bin/write-docs-to-readme.js",
|
40 | "cleanup-doc": "rimraf docs-tmp"
|
41 | },
|
42 | "devDependencies": {
|
43 | "bundle-collapser": "^1.1.4",
|
44 | "chai": "~1.8.1",
|
45 | "chai-as-promised": "~4.1.0",
|
46 | "cpy-cli": "^1.0.1",
|
47 | "istanbul": "^0.2.7",
|
48 | "mkdirp": "^0.5.0",
|
49 | "mocha": "~1.18",
|
50 | "native-or-lie": "1.0.2",
|
51 | "npm-run-all": "^4.1.3",
|
52 | "pify": "^3.0.0",
|
53 | "request": "^2.36.0",
|
54 | "rimraf": "^2.6.2",
|
55 | "rollup": "^0.59.1",
|
56 | "standard": "^11.0.1",
|
57 | "tslint": "^5.10.0",
|
58 | "tslint-config-standard": "^7.0.0",
|
59 | "typedoc": "^0.11.1",
|
60 | "typedoc-plugin-markdown": "^1.1.11",
|
61 | "typescript": "^2.8.3",
|
62 | "uglify-js": "^2.4.13",
|
63 | "zuul": "^3.10.1",
|
64 | "zuul-ngrok": "nolanlawson/zuul-ngrok#patch-1"
|
65 | },
|
66 | "files": [
|
67 | "dist"
|
68 | ]
|
69 | }
|