-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
110 lines (110 loc) · 2.81 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{
"name": "underlords",
"version": "1.0.2",
"description": "Library for encoding and decoding Underlords share codes",
"keywords": [
"dota",
"underlords",
"valve",
"share",
"board",
"codes"
],
"main": "dist/underlords.umd.js",
"module": "dist/underlords.es5.js",
"typings": "dist/types/underlords.d.ts",
"files": [
"dist"
],
"author": "Thomas Kosiewski",
"repository": {
"type": "git",
"url": "https://github.com/ThomasK33/node-underlords.git"
},
"homepage": "https://github.com/ThomasK33/node-underlords",
"license": "MIT",
"engines": {
"node": ">=10.0.0"
},
"scripts": {
"lint": "eslint '**/*.ts'",
"prebuild": "rimraf dist",
"build": "tsc --module commonjs && rollup -c rollup.config.ts --configPlugin @rollup/plugin-typescript && typedoc --out docs --theme default src/underlords.ts",
"start": "rollup -c rollup.config.ts --configPlugin @rollup/plugin-typescript -w",
"test": "jest --coverage",
"test:watch": "jest --coverage --watch",
"test:prod": "npm run lint && npm run test -- --no-cache",
"precommit": "lint-staged"
},
"lint-staged": {
"{src,test}/**/*.ts": [
"prettier --write",
"git add"
]
},
"jest": {
"transform": {
".(ts|tsx)": "ts-jest"
},
"testEnvironment": "node",
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"/test/"
],
"coverageThreshold": {
"global": {
"branches": 90,
"functions": 95,
"lines": 95,
"statements": 95
}
},
"collectCoverageFrom": [
"src/**/*.{js,ts}"
]
},
"devDependencies": {
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-typescript": "^11.0.0",
"@types/jest": "29.4.2",
"@types/lodash.camelcase": "^4.3.7",
"@types/node": "18.15.3",
"@types/rollup-plugin-json": "^3.0.3",
"colors": "1.4.0",
"commitizen": "4.3.0",
"cross-env": "7.0.3",
"cz-conventional-changelog": "3.3.0",
"eslint-config-prettier": "8.7.0",
"eslint-plugin-prettier": "4.2.1",
"gts": "3.1.1",
"husky": "8.0.3",
"jest": "29.5.0",
"jest-config": "29.5.0",
"lint-staged": "13.2.0",
"lodash.camelcase": "4.3.0",
"prettier": "2.8.4",
"prompt": "1.3.0",
"replace-in-file": "6.3.5",
"rimraf": "4.4.0",
"rollup": "3.19.1",
"rollup-plugin-commonjs": "10.1.0",
"rollup-plugin-node-resolve": "5.2.0",
"rollup-plugin-sourcemaps": "0.6.3",
"rollup-plugin-typescript2": "0.34.1",
"shelljs": "0.8.5",
"ts-jest": "29.0.5",
"ts-node": "10.9.1",
"typedoc": "0.23.26",
"typescript": "4.9.5"
},
"dependencies": {
"js-base64": "^3.7.5",
"snappyjs": "^0.7.0"
}
}