-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
62 lines (62 loc) · 2.44 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
{
"name": "@politie/informant",
"version": "1.1.10",
"description": "Informant is a simple and fast logging library for Node.js and browser JavaScript applications.",
"main": "dist/informant.cjs.js",
"module": "dist/informant.esm.js",
"typings": "dist/index.d.ts",
"files": [
"dist/informant.{cjs,esm}.*",
"dist/*.d.ts"
],
"scripts": {
"prepack": "npm run build && rimraf dist/*.spec.*",
"clean": "rimraf .nyc_output coverage dist",
"build": "npm run clean && npm test && npm run bundle",
"bundle": "tsc --module es6 && rollup -c && node ./test-bundle",
"test": "npm run lint && tsc && nyc --check-coverage --lines 100 --functions 100 --branches 98 --statements 100 --reporter text-summary --reporter lcov --include \"src/**/*.ts\" --include \"dist/**/*.js\" --exclude \"src/**/*.spec.ts\" --exclude \"dist/**/*.spec.js\" mocha --forbid-only \"dist/**/*.spec.js\"",
"posttest": "rimraf .nyc_output",
"watch": "nodemon --watch src --ext ts --exec npm run watch:run",
"watch:run": "nyc --reporter html --reporter text-summary --extension .ts --include \"src/**/*.ts\" --exclude \"src/**/*.spec.ts\" mocha --reporter landing --require ts-node/register \"src/**/*.spec.ts\" && rimraf .nyc_output",
"lint": "tslint -p tsconfig.json --format codeFrame"
},
"repository": {
"type": "git",
"url": "git+https://github.com/politie/informant.git"
},
"keywords": [
"politie",
"logging",
"typescript"
],
"author": "Dutch National Police",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/politie/informant/issues"
},
"homepage": "https://github.com/politie/informant#readme",
"dependencies": {
"tslib": "^2.8.1"
},
"devDependencies": {
"@types/chai": "^4.3.20",
"@types/mocha": "^10.0.9",
"@types/node": "^22.9.0",
"@types/sinon": "^17.0.3",
"@types/sinon-chai": "^3.2.2",
"chai": "^4.5.0",
"mocha": "^10.8.2",
"nodemon": "^3.1.7",
"nyc": "^17.1.0",
"rimraf": "^6.0.1",
"rollup": "^2.79.2",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-visualizer": "^5.5.2",
"sinon": "^19.0.2",
"sinon-chai": "^3.3.0",
"source-map-support": "^0.5.21",
"ts-node": "^10.2.1",
"tslint": "^6.1.3",
"typescript": "^5.6.3"
}
}