-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
70 lines (70 loc) · 2.87 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
58
59
60
61
62
63
64
65
66
67
68
69
70
{
"name": "modus-styleguide",
"version": "1.0.0",
"private": true,
"description": "The Modus Design System site built with Hugo",
"homepage": "https://modus.trimble.com",
"bugs": {
"url": "https://github.com/trimble-oss/modus/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc"
},
"repository": {
"type": "git",
"url": "[email protected]:trimble-oss/website-modus.trimble.com.git"
},
"license": "private",
"author": "Trimble",
"scripts": {
"start": "npm run serve",
"build": "npm-run-all lint-css && npx hugo",
"build-dev": "npm-run-all lint-css && npx hugo --config config.yml,config-dev.yml && npm run lint-html",
"deploy": "cross-env s3-deploy './build/**/*.{css,html,ico,jpg,js,json,webmanifest,map,png,svg,txt,xml}' --cwd './build/' --region us-east-1 --bucket prod-styles-trimblemaps --cache 31557600",
"deploy:dev": "cross-env s3-deploy './build/**/*.{css,html,ico,jpg,js,json,webmanifest,map,png,svg,txt,xml}' --cwd './build/' --region us-east-1 --bucket dev-styles-trimblemaps --cache 0",
"imagemin": "npx imagemin-cli static/img/components/headers/*.png --out-dir=static/img/components/headers/",
"lint": "npm-run-all prettier build lint-html",
"lint-css": "stylelint \"assets/styles/*.scss\" --fix",
"lint-html": "htmlhint \"layouts/**/*.html\"",
"lint-js": "npx eslint@8 \"assets/js/*.js\" --fix",
"lint-links": "npx linkinator ./build --recurse --silent",
"lint-markdown": "npx markdownlint-cli .",
"lint-spellcheck": "npx cspell \"content/**/*.md\" --no-progress",
"lint-textlint": "textlint **/*.*",
"pa11y": "npx pa11y build/index.html",
"pa11y-ci": "npx pa11y-ci --sitemap https://modus.trimble.com/sitemap.xml",
"prettier": "prettier --write \"assets/**/*.*s\"",
"serve": "npx hugo server -O --port 4000 --disableFastRender --navigateToChanged",
"serve-drafts": "hugo server --port 4000 --disableFastRender --navigateToChanged --buildDrafts",
"svgo": "npx svgo --folder=\"static/img/icons\"",
"test": "npm-run-all build prettier lint-html lint-markdown lint-textlint"
},
"devDependencies": {
"@fullhuman/postcss-purgecss": "6.0.0",
"@trimble-oss/modus-bootstrap": "2.0.7",
"@trimble-oss/modus-icons": "1.16.0",
"autoprefixer": "10.4.20",
"bootstrap-print-css": "1.0.1",
"cross-env": "7.0.3",
"htmlhint": "1.1.4",
"hugo-bin": "0.137.2",
"list.js": "2.3.1",
"npm-run-all": "4.1.5",
"popover-css-inspector": "1.0.0-beta15",
"postcss": "8.5.1",
"postcss-cli": "11.0.0",
"prettier": "3.4.2",
"s3-deploy": "1.4.0",
"stylelint": "16.13.1",
"stylelint-config-standard-scss": "14.0.0",
"textlint": "14.4.2",
"textlint-rule-common-misspellings": "1.0.1",
"textlint-rule-terminology": "5.2.12"
},
"hugo-bin": {
"buildTags": "extended"
},
"engines": {
"node": ">=20"
},
"volta": {
"node": "20.18.1"
}
}