-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpackage.json
More file actions
59 lines (59 loc) · 1.9 KB
/
package.json
File metadata and controls
59 lines (59 loc) · 1.9 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
{
"name": "show-more-read",
"version": "2.0.0",
"main": "dist/js/showMore.js",
"types": "dist/types/index.d.ts",
"description": "JavaScript library that truncates text, list or table by chars, elements or rows",
"author": "Grzegorz Tomicki",
"license": "MIT",
"bugs": {
"url": "https://github.com/tomickigrzegorz/show-more/issues"
},
"homepage": "https://github.com/tomickigrzegorz/show-more#readme",
"repository": {
"type": "git",
"url": "https://github.com/tomickigrzegorz/show-more.git"
},
"scripts": {
"dev": "concurrently \"yarn sass:dev\" \"yarn sass:prod\" \"yarn watch\"",
"prod": "yarn build && yarn sass:prod && yarn postcss && yarn postcss:prod && yarn lib:version",
"build": "rollup -c --environment PRODUCTION",
"watch": "rollup -c -w",
"sass:prod": "sass --no-source-map sources/scss:docs",
"sass:dev": "sass --watch sources/scss:docs",
"postcss": "postcss docs/**/*.css --dir docs",
"postcss:prod": "postcss --ext min.css docs/show-more.css --dir dist/css",
"lib:version": "node ./scripts/version.js",
"type-check": "tsc --noEmit",
"lint": "biome check .",
"format": "biome format --write .",
"check": "biome check --write ."
},
"keywords": [
"show-more/less",
"text",
"lists",
"tables",
"truncate-text",
"truncate-text-with-html"
],
"devDependencies": {
"@biomejs/biome": "2.3.13",
"@rollup/plugin-node-resolve": "^16.0.3",
"@rollup/plugin-swc": "^0.4.0",
"@rollup/plugin-terser": "^0.4.4",
"@swc/core": "^1.15.11",
"@types/node": "^25.1.0",
"autoprefixer": "^10.4.20",
"concurrently": "^9.0.1",
"cssnano": "^7.0.6",
"postcss": "^8.4.47",
"postcss-cli": "^11.0.0",
"rollup": "^4.59.0",
"rollup-plugin-dts": "^6.3.0",
"rollup-plugin-livereload": "^2.0.5",
"rollup-plugin-serve": "^1.1.1",
"sass": "^1.79.5",
"typescript": "^5.9.3"
}
}