-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
51 lines (51 loc) · 1.83 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
{
"name": "freshdesk-messaging-facade",
"version": "1.3.0",
"description": "A faster Freshdesk Messaging (Freshchat) embed",
"homepage": "https://github.com/coliff/freshdesk-messaging-facade#readme",
"bugs": {
"url": "https://github.com/coliff/freshdesk-messaging-facade/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/coliff/freshdesk-messaging-facade.git"
},
"funding": {
"type": "github",
"url": "https://github.com/sponsors/coliff"
},
"license": "MIT",
"author": "Christian Oliff (https://christianoliff.com)",
"main": "js/freshdesk-messaging-facade.min.js",
"files": [
"css/*",
"js/*",
"LICENSE",
"package.json",
"README.md"
],
"scripts": {
"build": "npm run css && npm run js",
"css": "npm run css-lint && npm run css-minify",
"css-lint": "stylelint \"css/*.css\" --fix -f verbose",
"css-minify": "cleancss --format breakWith=lf --output css/freshdesk-messaging-facade.min.css css/freshdesk-messaging-facade.css",
"htmlhint": "npx htmlhint index.html",
"js": "npm run js-lint && npm run js-minify",
"js-lint": "eslint js/freshdesk-messaging-facade.js --fix",
"js-minify": "terser --keep-classnames --keep-fnames --output js/freshdesk-messaging-facade.min.js -- js/freshdesk-messaging-facade.js",
"pa11y": "npx pa11y https://coliff.github.io/freshdesk-messaging-facade/",
"prettier": "prettier --write \"*.{css,js,json,scss,yml}\"",
"serve": "npx http-server -o -p 8080 -c-1",
"test": "npm run prettier && npm run css-lint && npm run js-lint"
},
"devDependencies": {
"@eslint/js": "9.0.0",
"clean-css-cli": "^5.6.3",
"eslint": "^9.0.0",
"eslint-config-prettier": "^9.1.0",
"prettier": "3.2.5",
"stylelint": "^16.3.1",
"stylelint-config-standard": "^36.0.0",
"terser": "^5.30.1"
}
}