-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
98 lines (98 loc) · 3.18 KB
/
Copy pathpackage.json
File metadata and controls
98 lines (98 loc) · 3.18 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
90
91
92
93
94
95
96
97
98
{
"name": "@tofsjonas/searchable",
"private": false,
"version": "0.3.1",
"main": "./dist/searchable.iife.js",
"module": "./dist/searchable.es.js",
"unpkg": "./dist/searchable.min.js",
"jsdelivr": "./dist/searchable.min.js",
"type": "module",
"license": "Unlicense",
"author": "Jonas Earendel",
"homepage": "https://github.com/tofsjonas/searchable",
"repository": {
"type": "git",
"url": "git+https://github.com/tofsjonas/searchable.git"
},
"keywords": [
"search",
"filter",
"html",
"table",
"plain",
"vanilla",
"javascript"
],
"files": [
"./src",
"./dist",
"./CHANGELOG.md"
],
"exports": {
".": {
"import": "./dist/searchable.es.js",
"require": "./dist/searchable.iife.js",
"script": "./dist/searchable.min.js",
"types": "./dist/index.d.ts"
},
"./dist/": {
"import": "./dist/"
}
},
"style": "dist/searchable.css",
"sass": "src/scss/searchable.scss",
"types": "./dist/index.d.ts",
"scripts": {
"dev": "vite --host",
"translate": "tsx ./scripts/translate-files.ts",
"es-to-iife": "tsx ./scripts/es-to-iife.ts",
"file-sizes": "./scripts/file-sizes.sh",
"copy-files": "tsx ./scripts/copy-files.ts",
"prettier": "prettier --config .prettierrc.js --write ./dist/searchable.*.js --ignore-path /dev/null",
"build": "tsc && vite build && npm run es-to-iife && npm run prettier && npm run format && npm run compile && npm run translate && npm run copy-files && npm run file-sizes",
"test": "vitest",
"compile": "google-closure-compiler --js=./dist/searchable.iife.js --js_output_file=./dist/searchable.min.js",
"test:coverage": "vitest --coverage",
"lint:scripts": "eslint . --ext .ts",
"lint:styles": "stylelint ./**/*.{css,scss}",
"format:scripts": "prettier . --write",
"format:styles": "stylelint ./**/*.{css,scss} --fix",
"format": "npm run format:scripts && npm run format:styles",
"lint": "eslint . --ext .ts && stylelint ./**/*.{css,scss}",
"prepare": "husky && echo 'npx lint-staged' > .husky/pre-commit && git add .husky/pre-commit",
"uninstall-husky": "npm uninstall husky --no-save && git config --unset core.hooksPath && npx rimraf .husky"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@types/jsdom": "^28.0.1",
"@types/node": "^25.6.0",
"@vitest/coverage-v8": "^4.1.4",
"copyfiles": "^2.4.1",
"dts-bundle-generator": "^9.5.1",
"eslint": "^10.2.1",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.5",
"globals": "^17.5.0",
"google-closure-compiler": "^20260415.0.0",
"husky": "^9.1.7",
"jiti": "^2.6.1",
"jsdom": "^29.0.2",
"lint-staged": "^16.4.0",
"postcss": "^8.5.10",
"postcss-scss": "^4.0.9",
"prettier": "^3.8.3",
"rimraf": "^6.1.3",
"sass-embedded": "^1.99.0",
"stylelint": "^17.8.0",
"stylelint-config-recommended": "^18.0.0",
"stylelint-config-sass-guidelines": "^13.0.0",
"stylelint-order": "^8.1.1",
"stylelint-prettier": "^5.0.3",
"tsx": "^4.21.0",
"typescript": "^6.0.3",
"typescript-eslint": "^8.59.0",
"vite": "^8.0.9",
"vite-plugin-dts": "^4.5.4",
"vitest": "^4.1.4"
}
}