-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
53 lines (53 loc) · 1.38 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
{
"name": "@pqt/abbreviate",
"version": "1.0.2",
"description": "Abbreviate numbers in the Thousands (K), Millions (M), Billions (B) and Trillions (T)",
"author": "Austin Paquette <[email protected]>",
"keywords": [],
"main": "build/index.js",
"types": "build/index.d.ts",
"scripts": {
"build": "rimraf build && tsc",
"dev": "rimraf build && tsc --watch",
"format": "prettier ./{src,__{tests,mocks}__}/{**,**/**}/*.{js,jsx,ts,tsx} --write",
"lint": "eslint src --ext=\".js,.jsx,.ts,.tsx\"",
"test": "jest"
},
"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",
"jest": "^25.1.0",
"prettier": "^1.19.1",
"rimraf": "^3.0.2",
"ts-jest": "^25.2.1",
"typescript": "^3.8.3"
},
"repository": {
"type": "git",
"url": "https://github.com/pqt/abbreviate"
},
"bugs": {
"url": "https://github.com/pqt/abbreviate/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"
}