|
7 | 7 | "url": "https://github.com/ladjs/assets/issues",
|
8 | 8 |
|
9 | 9 | },
|
10 |
| - "commitlint": { |
11 |
| - "extends": [ |
12 |
| - "@commitlint/config-conventional" |
13 |
| - ] |
14 |
| - }, |
15 | 10 | "contributors": [
|
16 | 11 | "Nick Baugh <[email protected]> (http://niftylettuce.com/)"
|
17 | 12 | ],
|
18 | 13 | "dependencies": {
|
19 |
| - "clipboard": "^2.0.8", |
| 14 | + "clipboard": "^2.0.11", |
20 | 15 | "is-string-and-not-blank": "^0.0.2",
|
21 |
| - "qs": "^6.10.3", |
22 |
| - "spinkit": "1.x", |
23 |
| - "superagent": "^7.0.2", |
24 |
| - "sweetalert2": "8.x", |
25 |
| - "url-parse": "^1.5.4" |
| 16 | + "qs": "^6.10.4", |
| 17 | + "spinkit": "^1.2.5", |
| 18 | + "superagent": "^7.1.6", |
| 19 | + "sweetalert2": "^8.19.0", |
| 20 | + "url-parse": "^1.5.10" |
26 | 21 | },
|
27 | 22 | "devDependencies": {
|
28 |
| - "@babel/cli": "^7.16.8", |
29 |
| - "@babel/core": "^7.16.7", |
30 |
| - "@babel/preset-env": "^7.16.8", |
31 |
| - "@commitlint/cli": "^16.0.2", |
32 |
| - "@commitlint/config-conventional": "^16.0.0", |
33 |
| - "@ladjs/browserslist-config": "^0.0.1", |
| 23 | + "@babel/cli": "^7.17.10", |
| 24 | + "@babel/core": "^7.18.2", |
| 25 | + "@babel/preset-env": "^7.18.2", |
| 26 | + "@commitlint/cli": "^17.0.2", |
| 27 | + "@commitlint/config-conventional": "^17.0.2", |
| 28 | + "@ladjs/browserslist-config": "^1.0.0", |
34 | 29 | "cross-env": "^7.0.3",
|
35 |
| - "eslint": "^8.6.0", |
36 |
| - "eslint-config-xo-lass": "^1.0.6", |
| 30 | + "eslint": "^8.17.0", |
| 31 | + "eslint-config-xo-lass": "^2.0.1", |
37 | 32 | "fixpack": "^4.0.0",
|
38 |
| - "husky": "^7.0.4", |
39 |
| - "lint-staged": "^12.1.7", |
| 33 | + "husky": "^8.0.1", |
| 34 | + "lint-staged": "^13.0.0", |
40 | 35 | "remark-cli": "^10.0.1",
|
41 |
| - "remark-preset-github": "^4.0.1", |
42 |
| - "xo": "^0.47.0" |
| 36 | + "remark-preset-github": "^4.0.4", |
| 37 | + "xo": "^0.49.0" |
43 | 38 | },
|
44 | 39 | "engines": {
|
45 |
| - "node": ">=8.3" |
| 40 | + "node": ">=14" |
46 | 41 | },
|
47 | 42 | "files": [
|
48 | 43 | "lib",
|
49 | 44 | "scss"
|
50 | 45 | ],
|
51 | 46 | "homepage": "https://github.com/ladjs/assets",
|
52 |
| - "husky": { |
53 |
| - "hooks": { |
54 |
| - "pre-commit": "npm test", |
55 |
| - "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" |
56 |
| - } |
57 |
| - }, |
58 | 47 | "keywords": [
|
59 | 48 | "4",
|
60 | 49 | "ajax",
|
|
81 | 70 | ],
|
82 | 71 | "license": "MIT",
|
83 | 72 | "main": "lib/index.js",
|
84 |
| - "prettier": { |
85 |
| - "singleQuote": true, |
86 |
| - "bracketSpacing": true, |
87 |
| - "trailingComma": "none" |
88 |
| - }, |
89 |
| - "remarkConfig": { |
90 |
| - "plugins": [ |
91 |
| - "preset-github" |
92 |
| - ] |
93 |
| - }, |
94 | 73 | "repository": {
|
95 | 74 | "type": "git",
|
96 | 75 | "url": "https://github.com/ladjs/assets"
|
97 | 76 | },
|
98 | 77 | "scripts": {
|
99 | 78 | "build": "babel src --out-dir lib --source-maps",
|
100 |
| - "lint": "xo && remark . -qfo", |
101 |
| - "test": "npm run lint && npm run build", |
| 79 | + "lint": "xo --fix && remark . -qfo && fixpack", |
| 80 | + "prepare": "husky install", |
| 81 | + "pretest": "npm run lint", |
| 82 | + "test": "npm run build", |
102 | 83 | "watch": "babel src --watch --out-dir lib --source-maps"
|
103 |
| - }, |
104 |
| - "xo": { |
105 |
| - "prettier": true, |
106 |
| - "space": true, |
107 |
| - "extends": [ |
108 |
| - "xo-lass" |
109 |
| - ], |
110 |
| - "envs": [ |
111 |
| - "node", |
112 |
| - "browser", |
113 |
| - "jquery" |
114 |
| - ], |
115 |
| - "rules": { |
116 |
| - "unicorn/catch-error-name": "off", |
117 |
| - "import/extensions": "warn", |
118 |
| - "unicorn/prefer-module": "off" |
119 |
| - } |
120 | 84 | }
|
121 | 85 | }
|
0 commit comments