-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
136 lines (136 loc) · 5.22 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
{
"name": "fun-promises",
"version": "1.2.0",
"description": "A library for making Promises more friendly, fluent, and fun(ctional).",
"main": "dist/node/v14/index.js",
"module": "dist/es6/esm/index.js",
"browser": "dist/browser/index.js",
"reactNative": "dist/react-native/index.js",
"source": "index.ts",
"types": "dist/esnext/index.d.ts",
"repository": "git@github.com:RobertFischer/fun-promises.git",
"author": "Robert Fischer",
"license": "Unlicense",
"private": false,
"keywords": [
"async",
"asyncawait",
"await",
"bluebird",
"concurrency",
"concurrently",
"deferred",
"deferreds",
"flow control",
"functional programming",
"functional",
"future",
"futures",
"map",
"mapper",
"parallel",
"promise",
"promises",
"promises-a",
"promises-aplus",
"typescript"
],
"homepage": "https://robertfischer.github.io/fun-promises/",
"dependencies": {
"@babel/runtime-corejs3": "^7.12.5",
"core-js": "^3.8.1",
"debug": "^4.3.1",
"lodash": "^4.17.20",
"ts-nested-error": "^1.2.1",
"tslib": "^2.0.3",
"typescript": "^4.1.3"
},
"devDependencies": {
"@babel/cli": "^7.12.10",
"@babel/core": "^7.12.10",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/plugin-transform-runtime": "^7.12.10",
"@babel/preset-env": "^7.12.10",
"@semantic-release/changelog": "^5.0.1",
"@semantic-release/commit-analyzer": "^8.0.1",
"@semantic-release/git": "^9.0.0",
"@semantic-release/github": "^7.2.0",
"@semantic-release/npm": "^7.0.9",
"@semantic-release/release-notes-generator": "^9.0.1",
"@tsconfig/node10": "^1.0.7",
"@tsconfig/node12": "^1.0.7",
"@tsconfig/node14": "^1.0.0",
"@tsconfig/react-native": "^1.0.2",
"@types/debug": "^4.1.5",
"@types/lodash": "^4.14.165",
"babel-minify": "^0.5.1",
"babel-plugin-import": "^1.13.3",
"babel-plugin-minify-dead-code-elimination": "^0.5.1",
"babel-plugin-minify-simplify": "^0.5.1",
"babel-plugin-remove-debug": "^0.0.4",
"conventional-changelog-conventionalcommits": "^4.5.0",
"cz-conventional-changelog": "^3.3.0",
"husky": "^4.3.6",
"jest": "^26.6.3",
"jest-extended": "^0.11.5",
"lint-staged": "^10.5.3",
"parcel": "^1.12.4",
"prettier": "^2.2.1",
"semantic-release": "^17.3.0",
"semantic-release-npm-deprecate-old-versions": "^1.0.1",
"ts-jest": "^26.4.4",
"typedoc": "^0.19.2",
"typedoc-plugin-nojekyll": "^1.0.1"
},
"scripts": {
"build": "echo 'Executing build' && yarn build:bundles && yarn build:docs",
"build:amd": "tsc -p ./tsconfig/amd.json",
"build:browser": "( test -d ./dist/esnext || yarn build:esnext ) && parcel build ./dist/esnext/index.js --target browser --out-dir ./dist/browser/ --global FunPromise --detailed-report 15",
"build:bundles": "./script/bootstrap && yarn build:dists && ./script/bundle-dists",
"build:cjs": "tsc -p ./tsconfig/cjs.json",
"build:dists": "rm -rf dist && yarn build:esnext && yarn build:es6 && yarn build:node && yarn build:react-native && yarn build:browser",
"build:docs": "rm -rf ./docs && mkdir ./docs && yarn build:docs:typedocs && yarn build:docs:changelog && yarn build:docs:test && yarn build:docs:coverage && mkdir -p ./dist && tar cJvf ./dist/docs.tar.xz ./docs",
"build:docs:changelog": "cp ./CHANGELOG.md ./docs/ || true",
"build:docs:coverage": "mkdir -p ./docs && npx browserslist --update-db && ( ( echo 'Explicitly Supported Browsers (MUST support Promises)' && npx browserslist && npx browserslist --coverage && npx browserslist --coverage=US && echo 'Note that functionally equivalent but unlisted browsers do not count in these stats, so real coverage is much higher than the percentages reported.' ) | tee ./docs/coverage.txt )",
"build:docs:test": "yarn test --verbose 2>&1 | tee ./docs/test-results.txt",
"build:docs:typedocs": "typedoc --tsconfig tsconfig.json --gitRevision \"$(git rev-parse --short HEAD)\"",
"build:es6": "yarn build:cjs && yarn build:esm && yarn build:umd && yarn build:amd",
"build:esm": "tsc -p ./tsconfig/esm.json",
"build:esnext": "tsc -p tsconfig.json",
"build:node": "yarn build:node:10 && yarn build:node:12 && yarn build:node:14",
"build:node:10": "tsc -p ./tsconfig/node10.json",
"build:node:12": "tsc -p ./tsconfig/node12.json",
"build:node:14": "tsc -p ./tsconfig/node14.json",
"build:react-native": "tsc -p ./tsconfig/react-native.json",
"build:umd": "tsc -p ./tsconfig/umd.json",
"bump-deps": "yarn upgrade -LCA && yarn install && yarn test",
"clean": "./script/clean",
"polish": "prettier --write .",
"prepack": "echo 'Executing prepack' && yarn build:bundles",
"serve:docs": "yarn build:docs && npx http-server ./docs",
"test": "jest --detectOpenHandles --forceExit ./*.test.js ./src/*.test.js",
"watch:compile": "tsc --watch -p tsconfig.json",
"watch:test": "yarn test --watch"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "yarn test && yarn build:esnext",
"prepare-commit-msg": "./script/has-message \"$1\" || ( exec < /dev/tty && git cz --hook )"
}
},
"lint-staged": {
"*.(js|cjs|mjs|json|yaml|yml|md|css|htm|htm|ts)": "prettier --write",
"*.json": "jq ."
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"sideEffects": false,
"browserslist": [
"defaults, cover 95% and supports promises",
"not dead"
]
}