-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
82 lines (82 loc) · 2.12 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
{
"name": "vaniquery",
"version": "0.2.2",
"author": "Skyler Dong <[email protected]> (https://skylerdong.com/)",
"license": "MIT",
"description": "A CLI app that converts jQuery to vanilla JavaScript",
"homepage": "https://github.com/dongskyler/vaniquery",
"repository": {
"type": "git",
"url": "https://github.com/dongskyler/vaniquery.git"
},
"bugs": {
"url": "https://github.com/dongskyler/vaniquery/issues"
},
"keywords": [
"JavaScript",
"vanilla JavaScript",
"plain JavaScript",
"jQuery",
"converter",
"CLI"
],
"bin": {
"vaniquery": "build/bin/vaniquery.js"
},
"main": "build/bin/vaniquery.js",
"files": [
"package.json",
"README.md",
"LICENSE",
"build/**/*"
],
"scripts": {
"ci": "yarn --frozen-lockfile",
"format": "prettier '**/*.{js,ts,json,md}' --write",
"lint": "eslint '**/*.{js,ts}' --cache --fix",
"clean": "rm -rf build",
"transpile": "tsc",
"build": "yarn clean && yarn transpile",
"dev-i": "npm i -g",
"dev-r": "npm r -g vaniquery",
"test": "jest src/__tests__/main.test.ts",
"start": "yarn build && yarn dev-r && yarn dev-i",
"start:dev": "nodemon",
"refresh": "rm -rf node_modules/ && yarn ci"
},
"engines": {
"node": ">=10.12.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"**/*.{js,ts,json,md}": "prettier --write",
"**/*.{js,ts}": "eslint --cache --fix"
},
"dependencies": {
"yargs": "^15.4.1"
},
"devDependencies": {
"@types/jest": "^26.0.13",
"@types/node": "^14.6.4",
"@typescript-eslint/eslint-plugin": "^4.0.0",
"@typescript-eslint/parser": "^3.7.0",
"eslint": "^7.9.0",
"eslint-config-airbnb-base": "^14.2.0",
"eslint-config-prettier": "^6.11.0",
"eslint-import-resolver-typescript": "^2.3.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-prettier": "^3.1.4",
"husky": "^4.3.0",
"jest": "^26.1.0",
"lint-staged": "^10.3.0",
"nodemon": "^2.0.4",
"prettier": "^2.0.5",
"ts-jest": "^26.1.3",
"ts-node": "^9.0.0",
"typescript": "^4.0.2"
}
}