-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
81 lines (81 loc) · 2.2 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
{
"name": "topic-weaver",
"version": "0.3.1",
"description": "Generate random topic combinations from hierarchical concept maps.",
"keywords": [
"generate",
"random",
"combinations",
"heirarchy",
"tree"
],
"author": "nafeu",
"exports": {
".": {
"import": {
"types": "./lib/esm/types/index.d.ts",
"default": "./lib/esm/index.mjs"
},
"require": {
"types": "./lib/cjs/types/index.d.ts",
"default": "./lib/cjs/index.js"
}
}
},
"types": "./lib/cjs/types/index.d.ts",
"main": "./lib/cjs/index.js",
"files": [
"lib/**/*"
],
"scripts": {
"clean": "rm -rf ./lib",
"build": "npm run clean && npm run build:esm && npm run build:cjs",
"build:esm": "tsc -p ./configs/tsconfig.esm.json && mv lib/esm/index.js lib/esm/index.mjs",
"build:cjs": "tsc -p ./configs/tsconfig.cjs.json",
"test": "jest",
"test:debug": "node --inspect-brk -r ts-node/register ./node_modules/.bin/jest --runInBand",
"test:watch": "jest --watch",
"coverage": "jest --coverage",
"coverage:watch": "jest --coverage --watch",
"coverage:view": "open ./coverage/lcov-report/index.html",
"semantic-release": "semantic-release",
"prepack": "npm run build",
"lint": "tsc -p ./configs/tsconfig.base.json --noEmit && eslint *.ts tests/**/*.ts",
"format": "prettier --write *.ts ./**/*.ts"
},
"release": {
"branches": [
"main"
]
},
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/nafeu/topic-weaver.git"
},
"bugs": {
"url": "https://github.com/nafeu/topic-weaver/issues"
},
"homepage": "https://github.com/nafeu/topic-weaver#readme",
"devDependencies": {
"@jest/globals": "^29.7.0",
"@typescript-eslint/eslint-plugin": "^6.13.2",
"@typescript-eslint/parser": "^6.13.2",
"eslint": "^8.55.0",
"husky": "^8.0.3",
"jest": "^29.7.0",
"prettier": "^3.1.0",
"semantic-release": "^19.0.5",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"typescript": "^4.9.5"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint && npm run format && npm run test"
}
},
"license": "MIT"
}