-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
75 lines (75 loc) · 2.02 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
{
"name": "@swimlane/obfuscator",
"version": "2.0.0",
"description": "Obfuscate objects based on a JSON Schema",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "npm-run-all -s build:*",
"build:clean": "rimraf dist/*",
"build:ts": "tsc",
"test": "npm run test:style && npm run test:unit",
"test:style": "npm run prettier:test && npm run lint",
"test:unit": "mocha --recursive --require ts-node/register 'tests/**/*.spec.ts' -R spec",
"test:cov": "nyc npm run test:unit",
"test:report": "cat ./coverage/lcov.info | codacy-coverage --language typescript",
"test:ci": "npm run test:style && npm run test:cov && npm run test:report",
"lint": "tslint ./{src,tests}/{,**/,**/**/}*.ts",
"prettier": "prettier --write \"./{src,tests}/**/*.{js,ts,md}\"",
"prettier:test": "prettier --list-different \"./{src,tests}/**/*.{js,ts,md}\"",
"prepublishOnly": "npm run test && npm run build"
},
"devDependencies": {
"@swimlane/prettier-config-swimlane": "~3.0.3",
"@types/chai": "^4.3.12",
"@types/mocha": "^10.0.6",
"@types/node": "^20.11.24",
"chai": "^4.4.1",
"codacy-coverage": "^3.0.0",
"mocha": "^10.3.0",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"prettier": "^2.0.4",
"rimraf": "^5.0.5",
"ts-node": "^10.9.2",
"tslint": "^5.20.1",
"typescript": "^5.3.3"
},
"keywords": [
"obfuscate",
"json",
"schema"
],
"repository": {
"type": "git",
"url": "git+https://github.com/swimlane/obfuscator.git"
},
"bugs": {
"url": "https://github.com/swimlane/obfuscator/issues"
},
"homepage": "https://github.com/swimlane/obfuscator#readme",
"author": "Swimlane <[email protected]>",
"license": "AGPL-3.0",
"nyc": {
"include": [
"src/*.ts",
"src/**/*.ts"
],
"exclude": [
"src/*.d.ts",
"src/**/*.d.ts"
],
"extension": [
".ts"
],
"reporter": [
"lcov",
"html",
"text"
],
"all": true
}
}