-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
89 lines (89 loc) · 3.4 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
{
"name": "@ffra/service-nedb",
"version": "3.0.4",
"description": "Service definitions with nedb operations, framework agnostic",
"main": "build/main/index.js",
"typings": "build/main/index.d.ts",
"module": "build/module/index.js",
"repository": "https://github.com/danibram/ffra",
"keywords": [
"ffra",
"service",
"nedb"
],
"scripts": {
"info": "npm-scripts-info",
"build": "trash build && tsc -p tsconfig.json && tsc -p tsconfig.module.json",
"lint": "tslint src/**/*.ts",
"unit": "yarn build && nyc ava",
"check-coverage": "nyc check-coverage --lines 80 --functions 80 --branches 80",
"test": "yarn lint && yarn unit && yarn check-coverage",
"watch": "trash build && multiview [yarn watch:build] [yarn watch:unit]",
"watch:build": "tsc -p tsconfig.json -w",
"watch:unit": "tsc -p tsconfig.json && ava --watch --verbose",
"cov": "yarn unit && yarn html-coverage && opn coverage/index.html",
"html-coverage": "nyc report --reporter=html",
"send-coverage": "nyc report --reporter=lcov > coverage.lcov && codecov",
"docs": "typedoc src/index.ts --excludePrivate --mode file --theme minimal --out build/docs && opn build/docs/index.html",
"docs:json": "typedoc --mode file --json build/docs/typedoc.json src/index.ts",
"release": "standard-version"
},
"scripts-info": {
"info": "Display information about the scripts",
"build": "(Trash and re)build the library",
"lint": "Lint all typescript source files",
"unit": "Run unit tests",
"test": "Lint and test the library",
"watch": "Watch source files, rebuild library on changes, rerun relevant tests",
"watch:build": "Watch source files, rebuild library on changes",
"watch:unit": "Watch the build, rerun relevant tests on changes",
"cov": "Run tests, generate the HTML coverage report, and open it in a browser",
"html-coverage": "Output HTML test coverage report",
"send-coverage": "Output lcov test coverage report and send it to codecov",
"docs": "Generate API documentation and open it in a browser",
"docs:json": "Generate API documentation in typedoc JSON format",
"release": "Bump package.json version, update CHANGELOG.md, tag a release"
},
"dependencies": {
"@ffra/errors": "^3.0.4",
"@ffra/service": "^3.0.4",
"debug": "^3.1.0",
"nedb": "^1.8.0",
"tslib": "^1.8.1"
},
"devDependencies": {
"ava": "^0.24.0",
"babel-cli": "^6.26.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"codecov": "^3.0.0",
"lerna": "^2.5.1",
"multiview": "^2.5.3",
"npm-scripts-info": "^0.3.6",
"nyc": "^11.3.0",
"opn-cli": "^3.1.0",
"standard-version": "^4.0.0",
"trash-cli": "^1.4.0",
"tslint": "^5.8.0",
"tslint-config-standard": "^7.0.0",
"typedoc": "^0.9.0",
"typescript": "^3.9.2"
},
"nyc": {
"exclude": [
"**/*.spec.js"
]
},
"ava": {
"files": [
"build/main/**/*.spec.js"
],
"source": [
"build/main/**/*"
]
},
"publishConfig": {
"access": "public"
},
"gitHead": "1b2eda6d9528b5c91a0d03c61ecf4f536825d731"
}