-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
57 lines (57 loc) · 1.86 KB
/
package.json
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
{
"name": "show-more-read",
"version": "1.1.8",
"main": "dist/js/showMore.js",
"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 --bundleConfigAsCjs",
"watch": "rollup -c -w --bundleConfigAsCjs",
"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"
},
"keywords": [
"show-more/less",
"text",
"lists",
"tables",
"truncate-text",
"truncate-text-with-html"
],
"devDependencies": {
"@babel/core": "^7.25.8",
"@babel/eslint-parser": "^7.25.8",
"@babel/preset-env": "^7.25.8",
"@rollup/plugin-babel": "^6.0.4",
"autoprefixer": "^10.4.20",
"concurrently": "^9.0.1",
"core-js": "^3.38.1",
"cssnano": "^7.0.6",
"eslint": "^9.12.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"postcss": "^8.4.47",
"postcss-cli": "^11.0.0",
"prettier": "^3.3.3",
"rollup": "^4.24.0",
"rollup-plugin-cleanup": "^3.2.1",
"rollup-plugin-livereload": "^2.0.5",
"rollup-plugin-serve": "^1.1.1",
"rollup-plugin-terser": "^7.0.2",
"sass": "^1.79.5"
}
}