|
1 | 1 | { |
2 | 2 | "name": "markdown-code-block-meta", |
3 | | - "version": "0.0.2", |
| 3 | + "version": "0.1.0", |
4 | 4 | "description": "A library to parse/stringify metadata of markdown code block", |
5 | 5 | "license": "MIT", |
6 | 6 | "author": { |
7 | | - "name": "Eric Chen", |
8 | | - "email": "airkro@qq.com" |
| 7 | + "name": "Eric Chen" |
9 | 8 | }, |
10 | 9 | "keywords": [ |
11 | 10 | "code-block", |
|
19 | 18 | "homepage": "https://github.com/nice-move/markdown-code-block-meta", |
20 | 19 | "repository": { |
21 | 20 | "type": "git", |
22 | | - "url": "https://github.com/nice-move/markdown-code-block-meta.git" |
| 21 | + "url": "git+https://github.com/nice-move/markdown-code-block-meta.git" |
23 | 22 | }, |
24 | 23 | "bugs": { |
25 | 24 | "url": "https://github.com/nice-move/markdown-code-block-meta/issues" |
26 | 25 | }, |
27 | 26 | "main": "index.js", |
28 | | - "files": [], |
| 27 | + "files": [ |
| 28 | + "index.d.ts" |
| 29 | + ], |
29 | 30 | "type": "module", |
30 | 31 | "scripts": { |
| 32 | + "build": "tsc -p tsconfig.build.json", |
31 | 33 | "lint:staged": "nice-move lint staged", |
| 34 | + "lint:type": "tsc -p tsconfig.json", |
32 | 35 | "prepare": "nice-move git hooks", |
33 | | - "prepublishOnly": "pnpm run lint:staged && pnpm test", |
| 36 | + "prepublishOnly": "pnpm run lint:staged && pnpm test && pnpm run build", |
34 | 37 | "snapshot": "ava --fail-fast -u", |
35 | 38 | "test": "ava --fail-fast" |
36 | 39 | }, |
37 | 40 | "devDependencies": { |
38 | | - "@bring-it/npm": "^0.3.5", |
39 | | - "@nice-move/cli": "^0.10.13", |
40 | | - "@nice-move/eslint-config-base": "^0.9.22", |
41 | | - "@nice-move/prettier-config": "^0.9.6", |
42 | | - "ava": "^5.3.1", |
43 | | - "eslint": "^8.51.0", |
44 | | - "eslint-plugin-ava": "^14.0.0", |
45 | | - "garou": "^0.6.17", |
46 | | - "prettier": "^3.0.3" |
47 | | - }, |
| 41 | + "@bring-it/npm": "^0.9.0", |
| 42 | + "@nice-move/all-in-base": "^0.6.18", |
| 43 | + "ava": "^6.4.1", |
| 44 | + "eslint": "^9.37.0", |
| 45 | + "garou": "^0.9.15", |
| 46 | + "prettier": "^3.6.2", |
| 47 | + "typescript": "^5.9.3" |
| 48 | + }, |
| 49 | + "packageManager": "pnpm@10.18.1", |
48 | 50 | "engines": { |
49 | | - "node": "^16.15.0 || ^18.12.0" |
| 51 | + "node": ">=18.12.0 || ^16.15.0" |
50 | 52 | }, |
51 | 53 | "publishConfig": { |
52 | 54 | "access": "public", |
53 | 55 | "registry": "https://registry.npmjs.org/" |
54 | 56 | }, |
55 | | - "packageManager": "pnpm@8.8.0", |
56 | | - "eslintConfig": { |
57 | | - "extends": "@nice-move/eslint-config-base" |
58 | | - }, |
59 | | - "nice-move": { |
60 | | - "import-groups": "nice-move-preset" |
| 57 | + "ava": { |
| 58 | + "extensions": [ |
| 59 | + "mts" |
| 60 | + ] |
61 | 61 | }, |
62 | 62 | "prettier": "@nice-move/prettier-config" |
63 | 63 | } |
0 commit comments