This repository has been archived by the owner on Mar 2, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
55 lines (55 loc) · 1.45 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
{
"name": "@pqt/weighted-random",
"version": "1.0.0",
"description": "Choose a random value from a fixed list of choices. Treat some values as more likely than others.",
"author": "Austin Paquette <austin@paquette.io>",
"keywords": [],
"main": "build/index.js",
"types": "build/index.d.ts",
"scripts": {
"build": "rimraf build && tsc",
"dev": "rimraf build && tsc --watch",
"format": "prettier ./{src,src}/*.ts --write",
"format:check": "prettier ./{src,src}/*.ts --check",
"lint": "eslint src --ext=\".ts\"",
"test": "jest --passWithNoTests"
},
"devDependencies": {
"@types/jest": "^25.1.4",
"@typescript-eslint/eslint-plugin": "^2.23.0",
"@typescript-eslint/parser": "^2.23.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.0",
"husky": "^4.2.3",
"jest": "^25.1.0",
"prettier": "^2.0.2",
"rimraf": "^3.0.2",
"ts-jest": "^25.2.1",
"typescript": "^3.8.3"
},
"repository": {
"type": "git",
"url": "https://github.com/pqt/weighted-random"
},
"bugs": {
"url": "https://github.com/pqt/weighted-random/issues"
},
"husky": {
"hooks": {
"pre-push": "npm run format && npm run lint && npm run test"
}
},
"jest": {
"roots": [
"<rootDir>/src"
],
"testMatch": [
"**/__tests__/**/*.+(ts|tsx|js)",
"**/?(*.)+(spec|test).+(ts|tsx|js)"
],
"transform": {
"^.+\\.(ts|tsx)$": "ts-jest"
}
},
"license": "MIT"
}