|
11 | 11 | "license": "MIT",
|
12 | 12 | "scripts": {
|
13 | 13 | "info": "npm-scripts-info",
|
14 |
| - "build": "trash build && yarn build:main && yarn build:module && yarn build:browser-deps && yarn build:browser && yarn build:browser-cjs", |
| 14 | + "build": "trash build && yarn build:main && yarn build:module && yarn build:browser-deps && yarn build:browser && yarn build:browser-cjs && yarn build:resolve-sourcemaps", |
15 | 15 | "build:main": "tsc -p tsconfig.json",
|
16 | 16 | "build:module": "tsc -p config/exports/tsconfig.module.json",
|
17 | 17 | "build:browser-deps": "mkdirp build/temp && browserify node_modules/hash.js/lib/hash.js --standalone hash -o build/temp/hash.js",
|
18 |
| - "build:browser": "rollup -c config/exports/rollup.config.js -f es -o build/browser/index.js && sorcery -i build/browser/index.js", |
19 |
| - "build:browser-cjs": "rollup -c config/exports/rollup.config.js -f cjs -o build/browser/index.cjs.js && sorcery -i build/browser/index.cjs.js", |
20 |
| - "build:tests": "node config/exports/build-tests.js", |
| 18 | + "build:browser": "rollup -c config/exports/rollup.config.js -f es -o build/browser/index.js", |
| 19 | + "build:browser-cjs": "rollup -c config/exports/rollup.config.js -f cjs -o build/browser/index.cjs.js", |
| 20 | + "build:resolve-sourcemaps": "sorcery -i build/browser/index.js && sorcery -i build/browser/index.cjs.js", |
| 21 | + "build:tests": "trash test && node config/exports/build-tests.js", |
21 | 22 | "lint": "tslint src/**/*.ts",
|
22 | 23 | "unit": "yarn build && yarn build:tests && nyc ava",
|
23 | 24 | "check-coverage": "nyc check-coverage --lines 100 --functions 100 --branches 100",
|
24 |
| - "test": "yarn lint && yarn unit && yarn check-coverage && ava", |
25 |
| - "watch": "yarn build && concurrently -r 'yarn build:main -- -w' 'yarn build:module -- -w' 'yarn build:browser -- -w' 'yarn build:browser-cjs -- -w' 'yarn build:tests -- -w' 'ava --watch --verbose'", |
| 25 | + "test": "yarn lint && yarn unit && yarn check-coverage", |
| 26 | + "watch": "yarn build && yarn build:tests -- --no-browser && concurrently -r --kill-others 'npm run --silent build:main -- -w' 'npm run --silent build:tests -- -w --no-browser' 'sleepms 2000 && ava --watch'", |
26 | 27 | "cov": "yarn unit && yarn html-coverage && opn coverage/index.html",
|
27 | 28 | "html-coverage": "nyc report --reporter=html",
|
28 | 29 | "send-coverage": "nyc report --reporter=lcov > coverage.lcov && codecov",
|
29 |
| - "docs": "typedoc src/index.ts --excludePrivate --mode file --theme minimal --out build/docs && opn build/docs/index.html", |
| 30 | + "docs": "typedoc src/index.ts --excludePrivate --exclude src/adapters/*.ts --mode file --theme minimal --out build/docs && opn build/docs/index.html", |
30 | 31 | "docs:json": "typedoc --mode file --json build/docs/typedoc.json src/index.ts",
|
31 | 32 | "release": "standard-version"
|
32 | 33 | },
|
|
66 | 67 | "rollup-plugin-commonjs": "^7.0.0",
|
67 | 68 | "rollup-plugin-node-resolve": "^2.0.0",
|
68 | 69 | "rollup-watch": "^3.2.2",
|
| 70 | + "sleep-ms": "^2.0.1", |
69 | 71 | "sorcery": "^0.10.0",
|
70 | 72 | "standard-version": "^4.0.0",
|
71 | 73 | "trash-cli": "^1.4.0",
|
72 |
| - "tslint": "^4.0.2", |
| 74 | + "tslint": "^4.5.1", |
73 | 75 | "tslint-config-standard": "^4.0.0",
|
74 |
| - "typedoc": "^0.5.5", |
75 |
| - "typescript": "^2.2.0" |
| 76 | + "typedoc": "^0.5.7", |
| 77 | + "typescript": "^2.2.1" |
76 | 78 | },
|
77 | 79 | "keywords": [
|
78 | 80 | "async",
|
|
102 | 104 | ]
|
103 | 105 | },
|
104 | 106 | "dependencies": {
|
105 |
| - "tslib": "^1.5.0" |
| 107 | + "tslib": "^1.6.0" |
106 | 108 | }
|
107 | 109 | }
|
0 commit comments