Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
89 lines (89 loc) · 2.85 KB
/
Copy pathpackage.json
File metadata and controls
89 lines (89 loc) · 2.85 KB
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
84
85
86
87
88
89
{
"name": "lz-string-es",
"type": "module",
"version": "1.0.0",
"packageManager": "pnpm@12.8.1",
"description": "An ESM-only build of lz-string, recompiled from the upstream source",
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
"license": "MIT",
"funding": "https://github.com/sponsors/antfu",
"homepage": "https://github.com/made-in-common/lz-string-es#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/made-in-common/lz-string-es.git"
},
"bugs": "https://github.com/made-in-common/lz-string-es/issues",
"keywords": [
"lz-string",
"lz",
"compression",
"string",
"esm"
],
"sideEffects": false,
"exports": {
".": "./dist/index.mjs",
"./package.json": "./package.json"
},
"types": "./dist/index.d.mts",
"files": [
"dist"
],
"scripts": {
"build": "tsdown",
"dev": "tsdown --watch",
"knip": "knip",
"lint": "eslint --cache",
"prepack": "nr build",
"release": "bumpp",
"start": "tsx src/index.ts",
"test": "pnpm run build && vitest",
"typecheck": "tsc",
"ci": "pnpm run lint && pnpm run typecheck && pnpm run knip && pnpm run test --run",
"prepare": "git submodule update --init --recursive && git config core.hooksPath .githooks && simple-git-hooks && skills-npm"
},
"scripts-info": {
"build": "Build the library for publishing",
"dev": "Rebuild on change during development",
"knip": "Find unused files, exports and dependencies",
"lint": "Check for code style issues",
"prepack": "Build before publishing",
"release": "Bump version and publish a release",
"start": "Run the entry file",
"test": "Run the test suite",
"typecheck": "Check types",
"ci": "Run the full continuous integration pipeline",
"prepare": "Init the upstream submodule, git hooks and skills"
},
"devDependencies": {
"@antfu/eslint-config": "catalog:cli",
"@antfu/ni": "catalog:cli",
"@antfu/skills": "catalog:agentic",
"@antfu/utils": "catalog:inlined",
"@types/node": "catalog:types",
"bumpp": "catalog:cli",
"eslint": "catalog:cli",
"eslint-plugin-slop": "catalog:cli",
"eslint-plugin-sonarjs": "catalog:cli",
"knip": "catalog:cli",
"lz-string": "catalog:testing",
"nano-staged": "catalog:cli",
"publint": "catalog:cli",
"simple-git-hooks": "catalog:cli",
"skills-npm": "catalog:agentic",
"taze": "catalog:cli",
"tsdown": "catalog:cli",
"tsdown-stale-guard": "catalog:testing",
"tsnapi": "catalog:testing",
"tsx": "catalog:cli",
"typescript": "catalog:cli",
"vite": "catalog:cli",
"vitest": "catalog:testing"
},
"simple-git-hooks": {
"pre-commit": "pnpm i --frozen-lockfile --ignore-scripts --offline && pnpm run ci && pnpx nano-staged"
},
"nano-staged": {
"*.{js,ts,tsx,json,css,md,yaml,vue}": "eslint --fix --no-warn-ignored"
}
}