/
package.json
76 lines (76 loc) · 2.05 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
{
"name": "format-string-by-pattern",
"version": "0.0.0-semantically-released",
"description": "A module that formats a string based on a pattern",
"main": "dist/format-string-by-pattern.umd.js",
"module": "dist/format-string-by-pattern.es5.js",
"typings": "dist/types/index.d.ts",
"author": {
"name": "Arthur Denner",
"email": "arthurdenner7@gmail.com"
},
"license": "MIT",
"scripts": {
"lint": "tslint --project tsconfig.json -t codeFrame 'src/**/*.ts' 'test/**/*.ts'",
"prebuild": "rimraf dist docs",
"build": "tsc --module commonjs && rollup -c rollup.config.ts && npm run typedoc",
"start": "rollup -c rollup.config.ts -w",
"test": "jest --coverage",
"test:watch": "jest --coverage --watch",
"test:prod": "npm run lint && npm run test",
"typedoc": "typedoc src/index.ts",
"validate": "npm run test:prod && npm run build"
},
"files": [
"dist"
],
"keywords": [
"format",
"string",
"pattern"
],
"repository": {
"type": "git",
"url": "https://github.com/arthurdenner/format-string-by-pattern.git"
},
"bugs": {
"url": "https://github.com/arthurdenner/format-string-by-pattern/issues"
},
"homepage": "https://github.com/arthurdenner/format-string-by-pattern#readme",
"engines": {
"node": ">=12"
},
"husky": {
"hooks": {
"precommit": "lint-staged"
}
},
"lint-staged": {
"{src,test}/**/*.ts": [
"prettier --write",
"git add"
]
},
"devDependencies": {
"@types/jest": "29.4.0",
"@types/node": "18.14.6",
"cross-env": "7.0.3",
"husky": "8.0.3",
"jest": "29.5.0",
"jest-config": "29.5.0",
"lint-staged": "13.1.2",
"prettier": "2.8.4",
"rimraf": "4.1.2",
"rollup": "2.79.1",
"rollup-plugin-sourcemaps": "0.6.3",
"rollup-plugin-terser": "7.0.2",
"rollup-plugin-typescript2": "0.34.1",
"ts-jest": "29.0.5",
"ts-node": "10.9.1",
"tslint": "6.1.3",
"tslint-config-prettier": "1.18.0",
"tslint-config-standard": "9.0.0",
"typedoc": "0.23.26",
"typescript": "4.9.5"
}
}