-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
79 lines (79 loc) · 2.31 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
77
78
79
{
"name": "config-convert",
"version": "1.0.1",
"description": "🚀 Need to convert a JS config file to JSON or vice-versa? Are you also very lazy and want a tool to do this for you? Welcome to config-convert.",
"main": "dist/index.js",
"types": "types/index.d.ts",
"bin": "dist/bin.js",
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/index.mjs"
},
"./": "./"
},
"scripts": {
"build": "npx tsc && npx gen-esm-wrapper . ./dist/index.mjs",
"lint": "npx eslint src/ --ext .ts,.js",
"lint:fix": "npm run lint -- --fix",
"test": "npx jest --config jest.config.json",
"test:build": "npm run build && npx jest --config jest.config.json",
"prepublishOnly": "npm run lint && npm run build",
"prepare": "husky install",
"test:js": "npx ts-node src/bin.ts -f __tests__/test-config2.json -o __tests__/output-2.js",
"test:json": "npx ts-node src/bin.ts -f __tests__/test-config1.js -o __tests__/output-1.json"
},
"devDependencies": {
"@babel/core": "^7.12.17",
"@babel/generator": "^7.13.0",
"@babel/preset-env": "^7.12.17",
"@babel/preset-typescript": "^7.12.17",
"@sapphire/eslint-config": "^3.2.3",
"@types/jest": "^26.0.24",
"@types/node": "^16.7.6",
"@types/prettier": "^2.3.2",
"@types/yargs": "^17.0.2",
"@typescript-eslint/eslint-plugin": "^3.9.0",
"@typescript-eslint/parser": "^3.9.0",
"babel-jest": "^26.6.3",
"eslint": "^7.6.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.4",
"gen-esm-wrapper": "^1.1.2",
"husky": "^6.0.0",
"jest": "^27.0.6",
"lint-staged": "^10.4.2",
"typescript": "^4.4.2"
},
"dependencies": {
"prettier": "^2.3.2",
"yargs": "^17.1.1"
},
"files": [
"dist/",
"types/"
],
"repository": {
"type": "git",
"url": "git+https://github.com/zaida04/config-convert.git"
},
"author": "Zaid \"Nico\"",
"license": "MIT",
"bugs": {
"url": "https://github.com/zaida04/config-convert/issues"
},
"homepage": "https://github.com/zaida04/config-convert#readme",
"eslintConfig": {
"extends": "@sapphire"
},
"prettier": {
"endOfLine": "auto",
"printWidth": 150,
"semi": true,
"tabWidth": 4,
"trailingComma": "none"
},
"lint-staged": {
"*.ts": "eslint --fix --ext ts"
}
}