-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
83 lines (83 loc) · 2.11 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
80
81
82
83
{
"name": "@fotoncompany/sort-object",
"version": "0.2.2",
"description": "Sort an object's key within source code automatically as part of linting",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"bin": {
"sort-object": "./bin/cli"
},
"license": "MIT",
"private": false,
"homepage": "https://github.com/FotonTech/sort-object#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/FotonTech/sort-object.git"
},
"author": {
"name": "Fotontech",
"email": "[email protected]",
"url": "https://github.com/FotonTech/sort-object"
},
"bugs": {
"url": "https://github.com/FotonTech/sort-object/issues"
},
"devDependencies": {
"@babel/core": "^7.7.4",
"@babel/preset-env": "^7.7.4",
"@babel/preset-typescript": "^7.7.4",
"@types/jest": "24.0.23",
"@types/lodash": "^4.14.149",
"@types/shelljs": "^0.8.6",
"@types/yargs": "^13.0.3",
"@typescript-eslint/eslint-plugin": "^2.10.0",
"@typescript-eslint/parser": "^2.10.0",
"babel-jest": "^24.9.0",
"danger": "9.2.10",
"eslint": "6.7.2",
"husky": "^3.1.0",
"jest": "24.9.0",
"lint-staged": "^9.5.0",
"prettier": "1.19.1",
"rimraf": "3.0.0",
"sort-package-json": "^1.30.0",
"typescript": "3.7.3"
},
"files": [
"dist",
"bin"
],
"scripts": {
"test": "jest",
"build": "yarn clean && tsc",
"lint": "yarn eslint . --ext .js,.ts,.tsx",
"clean": "rimraf dist",
"patch": "npm version patch && npm publish",
"minor": "npm version minor && npm publish",
"major": "npm version major && npm publish",
"prepare": "yarn lint && yarn build",
"postpublish": "git push origin master --follow-tags"
},
"lint-staged": {
"*.yml": [
"yarn prettier --write",
"git add"
],
"*.{ts,tsx,js}": [
"yarn prettier --write",
"yarn lint",
"git add"
],
"package.json": [
"yarn prettier --write",
"yarn sort-package-json",
"git add"
]
},
"dependencies": {
"lodash": "^4.17.15",
"shelljs": "^0.8.3",
"yargs": "^15.0.2"
}
}