-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
64 lines (64 loc) · 1.73 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
{
"name": "nprintf",
"version": "1.0.1",
"description": "Get a format number from the formatting template,like CLang's function 'printf'.",
"main": "./lib/index.js",
"typings": "./lib/index.d.ts",
"author": "jxz_211@163.com",
"keywords": [
"printf",
"nprintf",
"format",
"string"
],
"license": "MIT",
"devDependencies": {
"@babel/eslint-parser": "^7.12.1",
"@types/jest": "^26.0.15",
"@types/node": "^14.14.6",
"@typescript-eslint/eslint-plugin": "^4.6.0",
"@typescript-eslint/parser": "^4.6.0",
"coveralls": "^3.1.0",
"cz-conventional-changelog": "3.3.0",
"eslint": "^7.12.1",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-prettier": "^3.1.4",
"husky": "^4.3.0",
"jest": "^26.6.2",
"prettier": "^2.1.2",
"ts-jest": "^26.4.3",
"ts-loader": "^8.0.7",
"ts-node": "^9.0.0",
"tsconfig-paths": "^3.6.0",
"typescript": "^4.0.5",
"webpack": "^4.26.0",
"webpack-cli": "^3.1.2"
},
"scripts": {
"test": "jest",
"local": "ts-node -r tsconfig-paths/register local/test.ts",
"build:browser": "webpack --progress --mode='production'",
"build": "npm run lint && tsc && npm run build:browser",
"coverage": "jest --coverage && coveralls < coverage/lcov.info",
"prepublish": "npm test && npm build",
"lint": "eslint 'src/**/*.{ts,js}'"
},
"dependencies": {},
"repository": {
"type": "git",
"url": "https://github.com/suchjs/nprintf"
},
"bugs": {
"url": "https://github.com/suchjs/nprintf/issues"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"husky": {
"hooks": {
"prepare-commit-msg": "exec < /dev/tty && git cz --hook || true"
}
}
}