forked from blend/promise-utils
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
86 lines (86 loc) · 2.19 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
{
"name": "blend-promise-utils",
"version": "1.29.0",
"author": "Blend",
"license": "MIT",
"homepage": "https://blend.github.io/promise-utils",
"description": "Lodash-like utilities for dealing with promises",
"repository": {
"type": "git",
"url": "https://github.com/blend/promise-utils.git"
},
"main": "dist/src/index.js",
"types": "dist/src/index.d.ts",
"scripts": {
"prepare": "tsc",
"prettier:base": "prettier '{src,test}/**/**/*.ts'",
"prettier": "npm run prettier:base -- --write",
"lintSrc": "tslint --project tsconfig.json --config tslint.js 'src/**/*.ts'",
"lintTest": "tslint --project tsconfig.json --config tslint.test.js 'test/**/*.ts'",
"lint": "npm run prettier:base -- --list-different && npm run lintSrc && npm run lintTest",
"lintFix": "npm run prettier && npm run lintSrc -- --fix && npm run lintTest -- --fix",
"testCode": "nyc ava",
"test": "tsc && npm run testCode && npm run lint && ./bin/assert_no_file_modifications.sh",
"testFix": "tsc && npm run testCode && npm run lintFix",
"start": "grunt"
},
"prettier": {
"singleQuote": true,
"trailingComma": "all",
"printWidth": 100
},
"ava": {
"files": [
"dist/test/**/*.test.js"
],
"sources": [
"src/*.ts",
"src/**/*.ts"
],
"concurrency": 5,
"verbose": true,
"timeout": "10000",
"failFast": false,
"powerAssert": true
},
"nyc": {
"reporter": [
"html",
"json",
"lcov",
"text"
],
"require": [
"source-map-support/register"
],
"extension": [
".ts"
],
"skip-full": true,
"check-coverage": true,
"lines": 100,
"functions": 100,
"branches": 100,
"statements": 100,
"exclude": [
"dist/test/**/*.js"
]
},
"devDependencies": {
"@types/lodash": "4.14.136",
"@types/sinon": "7.0.13",
"ava": "2.2.0",
"coveralls": "3.0.4",
"grunt": "1.3.0",
"grunt-contrib-watch": "1.1.0",
"grunt-force-task": "2.0.0",
"grunt-run": "0.8.1",
"lodash": "4.17.21",
"nyc": "14.1.1",
"prettier": "1.18.2",
"sinon": "7.3.2",
"tslint": "5.18.0",
"typedoc": "0.14.2",
"typescript": "3.5.3"
}
}