-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
77 lines (77 loc) · 2.47 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
{
"name": "cancel.it",
"version": "0.2.2",
"description": "Cancelable promise",
"main": "cjs/index.js",
"module": "es/index.js",
"unpkg": "dist/index.min.js",
"jsdelivr": "dist/index.min.js",
"files": [
"dist/*",
"cjs/*",
"es/*",
"LICENSE",
"README.md"
],
"repository": "[email protected]:Eazymov/cancel.it.git",
"keywords": [
"promise",
"cancel",
"cancelable"
],
"author": {
"name": "Eduard Troshin",
"email": "[email protected]"
},
"bugs": {
"url": "https://github.com/Eazymov/cancel.it/issues"
},
"homepage": "https://github.com/Eazymov/cancel.it#readme",
"license": "MIT",
"devDependencies": {
"@babel/cli": "7.2.3",
"@babel/plugin-proposal-class-properties": "7.3.0",
"@babel/preset-env": "7.3.1",
"@babel/preset-flow": "7.0.0",
"babel-eslint": "10.0.1",
"copyfiles": "2.1.0",
"coveralls": "3.0.2",
"cross-env": "5.2.0",
"eslint": "5.13.0",
"eslint-plugin-flowtype": "3.4.2",
"flow-bin": "0.92.1",
"flow-copy-source": "2.0.3",
"flow-coverage-report": "0.6.1",
"husky": "1.3.1",
"jest": "24.8.0",
"lint-staged": "9.2.1",
"prettier": "1.16.4",
"rollup": "1.1.2",
"rollup-plugin-babel": "4.3.2",
"rollup-plugin-uglify": "6.0.2",
"typescript": "3.3.3"
},
"scripts": {
"build": "yarn build:cjs && yarn build:es && yarn build:iife",
"build:cjs": "cross-env BABEL_ENV=cjs babel src --out-dir cjs && yarn build:types cjs",
"build:es": "cross-env BABEL_ENV=es babel src --out-dir es && yarn build:types es",
"build:iife": "cross-env BABEL_ENV=iife rollup -c",
"build:types": "copyfiles -u 1 \"src/*.d.ts\" \"src/*.flow\"",
"prettier": "prettier \"./**/*.{js,flow,json,md}\"",
"prettier:check": "yarn prettier --check",
"prettier:write": "yarn prettier --write",
"flow:restart": "flow stop && flow start",
"flow:coverage": "flow-coverage-report --config flow-coverage.json",
"lint": "yarn lint:js",
"lint:js": "eslint \"src/**/*.js\"",
"lint:staged": "lint-staged",
"test": "yarn test:unit && yarn test:types",
"test:unit": "BABEL_ENV=test jest",
"test:watch": "yarn test:unit --watch",
"test:coverage": "BABEL_ENV=test jest --coverage",
"test:types": "yarn test:types:ts && yarn test:types:flow",
"test:types:ts": "tsc -p test/types/typescript/tsconfig.json",
"test:types:flow": "flow check",
"coveralls": "yarn test:coverage --coverageReporters=text-lcov | coveralls"
}
}