1 | {
|
2 | "name": "rc-config-loader",
|
3 | "version": "4.1.3",
|
4 | "description": "load config file from .{product}rc.{json,yml,js}",
|
5 | "keywords": [
|
6 | "config",
|
7 | "configuration",
|
8 | "json",
|
9 | "loader",
|
10 | "rc",
|
11 | "yaml",
|
12 | "yml"
|
13 | ],
|
14 | "homepage": "https://github.com/azu/rc-config-loader",
|
15 | "bugs": {
|
16 | "url": "https://github.com/azu/rc-config-loader/issues"
|
17 | },
|
18 | "repository": {
|
19 | "type": "git",
|
20 | "url": "https://github.com/azu/rc-config-loader.git"
|
21 | },
|
22 | "license": "MIT",
|
23 | "author": "azu",
|
24 | "files": [
|
25 | "bin/",
|
26 | "lib/",
|
27 | "src/"
|
28 | ],
|
29 | "main": "lib/rc-config-loader.js",
|
30 | "types": "lib/rc-config-loader.d.ts",
|
31 | "directories": {
|
32 | "test": "test"
|
33 | },
|
34 | "scripts": {
|
35 | "build": "tsc -p .",
|
36 | "prepublish": "npm run --if-present build",
|
37 | "test": "mocha \"test/**/*.{js,ts}\"",
|
38 | "watch": "tsc -p . --watch",
|
39 | "format": "prettier --write \"**/*.{js,jsx,ts,tsx,css}\"",
|
40 | "prepare": "git config --local core.hooksPath .githooks"
|
41 | },
|
42 | "husky": {
|
43 | "hooks": {
|
44 | "post-commit": "git reset",
|
45 | "pre-commit": "lint-staged"
|
46 | }
|
47 | },
|
48 | "lint-staged": {
|
49 | "*.{js,jsx,ts,tsx,css}": [
|
50 | "prettier --write"
|
51 | ]
|
52 | },
|
53 | "prettier": {
|
54 | "singleQuote": false,
|
55 | "printWidth": 120,
|
56 | "tabWidth": 4,
|
57 | "trailingComma": "none"
|
58 | },
|
59 | "dependencies": {
|
60 | "debug": "^4.3.4",
|
61 | "js-yaml": "^4.1.0",
|
62 | "json5": "^2.2.2",
|
63 | "require-from-string": "^2.0.2"
|
64 | },
|
65 | "devDependencies": {
|
66 | "@types/mocha": "^9.1.0",
|
67 | "@types/node": "^17.0.23",
|
68 | "@types/require-from-string": "^1.2.1",
|
69 | "lint-staged": "^12.3.7",
|
70 | "mocha": "^9.2.2",
|
71 | "prettier": "^2.6.2",
|
72 | "ts-node": "^10.7.0",
|
73 | "ts-node-test-register": "^10.0.0",
|
74 | "typescript": "^4.6.3"
|
75 | }
|
76 | }
|