|
1 | 1 | { |
2 | | - "directories": { |
3 | | - "test": "test" |
4 | | - }, |
5 | | - "author": "azu", |
6 | | - "license": "MIT", |
7 | | - "files": [ |
8 | | - "bin/", |
9 | | - "lib/" |
10 | | - ], |
11 | 2 | "name": "create-textlint-rule", |
12 | 3 | "version": "1.5.0", |
13 | 4 | "description": "Create textlint rule project with no configuration.", |
14 | | - "main": "lib/create-textlint-rule.js", |
15 | | - "bin": { |
16 | | - "create-textlint-rule": "bin/cmd.js" |
17 | | - }, |
18 | | - "scripts": { |
19 | | - "test": "./test/test.sh", |
20 | | - "format": "prettier --write \"**/*.{js,jsx,ts,tsx,css}\"", |
21 | | - "prepare": "git config --local core.hooksPath .githooks" |
22 | | - }, |
23 | 5 | "keywords": [ |
24 | 6 | "textlint", |
25 | 7 | "tools", |
26 | 8 | "development", |
27 | 9 | "rule" |
28 | 10 | ], |
| 11 | + "homepage": "https://github.com/textlint/create-textlint-rule", |
| 12 | + "bugs": { |
| 13 | + "url": "https://github.com/textlint/create-textlint-rule/issues" |
| 14 | + }, |
29 | 15 | "repository": { |
30 | 16 | "type": "git", |
31 | 17 | "url": "https://github.com/textlint/create-textlint-rule.git" |
32 | 18 | }, |
33 | | - "bugs": { |
34 | | - "url": "https://github.com/textlint/create-textlint-rule/issues" |
| 19 | + "license": "MIT", |
| 20 | + "author": "azu", |
| 21 | + "type": "module", |
| 22 | + "main": "lib/create-textlint-rule.js", |
| 23 | + "bin": { |
| 24 | + "create-textlint-rule": "bin/cmd.js" |
35 | 25 | }, |
36 | | - "homepage": "https://github.com/textlint/create-textlint-rule", |
37 | | - "dependencies": { |
38 | | - "chalk": "^4.1.2", |
39 | | - "cross-spawn": "^7.0.3", |
40 | | - "cross-spawn-promise": "^0.10.2", |
41 | | - "meow": "^7.1.1", |
42 | | - "rimraf": "^3.0.2", |
43 | | - "update-notifier": "^5.1.0" |
| 26 | + "directories": { |
| 27 | + "test": "test" |
44 | 28 | }, |
45 | | - "devDependencies": { |
46 | | - "lint-staged": "^13.0.3", |
47 | | - "prettier": "^2.7.1" |
| 29 | + "files": [ |
| 30 | + "bin/", |
| 31 | + "lib/" |
| 32 | + ], |
| 33 | + "engines": { |
| 34 | + "node": ">=14.16" |
| 35 | + }, |
| 36 | + "scripts": { |
| 37 | + "format": "prettier --write \"**/*.{js,jsx,ts,tsx,css}\"", |
| 38 | + "prepare": "git config --local core.hooksPath .githooks", |
| 39 | + "test": "./test/test.sh" |
| 40 | + }, |
| 41 | + "lint-staged": { |
| 42 | + "*.{js,jsx,ts,tsx,css}": [ |
| 43 | + "prettier --write" |
| 44 | + ] |
48 | 45 | }, |
49 | 46 | "prettier": { |
50 | | - "singleQuote": false, |
51 | 47 | "printWidth": 120, |
| 48 | + "singleQuote": false, |
52 | 49 | "tabWidth": 4, |
53 | 50 | "trailingComma": "none" |
54 | 51 | }, |
55 | | - "husky": { |
56 | | - "hooks": { |
57 | | - "precommit": "lint-staged" |
58 | | - } |
| 52 | + "dependencies": { |
| 53 | + "chalk": "^5.1.2", |
| 54 | + "cross-spawn": "^7.0.3", |
| 55 | + "cross-spawn-promise": "^0.10.2", |
| 56 | + "meow": "^11.0.0", |
| 57 | + "rimraf": "^3.0.2", |
| 58 | + "update-notifier": "^6.0.2" |
59 | 59 | }, |
60 | | - "lint-staged": { |
61 | | - "*.{js,jsx,ts,tsx,css}": [ |
62 | | - "prettier --write" |
63 | | - ] |
| 60 | + "devDependencies": { |
| 61 | + "lint-staged": "^13.0.3", |
| 62 | + "prettier": "^2.7.1" |
64 | 63 | } |
65 | 64 | } |
0 commit comments