-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
114 lines (114 loc) · 4.28 KB
/
package.json
File metadata and controls
114 lines (114 loc) · 4.28 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"name": "cdlib-ui",
"version": "2.0.0",
"description": "The UI for the California Digital Library website",
"scripts": {
"serve": "npm-run-all clean --parallel parcel-dev fractal-dev watchstyles watchjs --silent",
"build": "run-s clean parcel-build fractal-build lintstyles lintjs --silent",
"clean": "del dist ui-assets",
"fractal-dev": "fractal start --sync --watch",
"fractal-build": "fractal build",
"parcel-dev": "parcel watch scss/main.scss js/main.js images/* --dist-dir ui-assets --public-url . --no-cache",
"parcel-build": "parcel build scss/main.scss js/main.js images/* --dist-dir ui-assets --public-url . --no-cache --no-source-maps",
"watchstyles": "onchange -i scss/* -- npm run lintstyles",
"watchjs": "onchange -i js/* -- npm run lintjs",
"lintstyles": "stylelint scss/*",
"lintjs": "standard js/* --verbose | snazzy || exit 0",
"push-assets-local": "rsync -rvu --delete --exclude '.DS_Store' dist/ui-assets ~/'Local Sites'/cdlib/app/public/wp-content/themes/cdlib",
"push-assets-dev": "rsync -rvu --delete --exclude '.DS_Store' ./dist/ui-assets cdlib@web-cdlib2x2-dev.cdlib.org:/apps/cdlib/apache/htdocs/wp-content/themes/cdlib",
"push-assets-stage": "rsync -rvu --delete --exclude '.DS_Store' ./dist/ui-assets cdlib@web-cdlib2x2-stg-2a.cdlib.org:/apps/cdlib/apache/htdocs/wp-content/themes/cdlib",
"push-assets-prod": "rsync -rvu --delete --exclude '.DS_Store' ./dist/ui-assets cdlib@web-cdlib2x2-prd-2a.cdlib.org:/apps/cdlib/apache/htdocs/wp-content/themes/cdlib",
"test-percy": "run-s test-build start-percy",
"test-pa11y": "run-s test-build start-pa11y",
"test-build": "run-s build start-sitemap",
"test-serve": "http-server dist -c-1 -s",
"start-sitemap": "start-server-and-test test-serve 8080 build-sitemap",
"build-sitemap": "sitemap-generator http://localhost:8080/components/preview --filepath dist/sitemap.xml",
"start-percy": "start-server-and-test test-serve 8080 run-percy",
"run-percy": "npx percy snapshot http://localhost:8080/sitemap.xml --exclude '**/'",
"start-pa11y": "start-server-and-test test-serve 8080 run-pa11y",
"run-pa11y": "pa11y-ci --sitemap http://localhost:8080/sitemap.xml --sitemap-exclude /$",
"format-sample-data": "format-json-files sample-data",
"update-caniuse-lite": "npx browserslist@latest --update-db"
},
"repository": {
"type": "git",
"url": "git+https://github.com/cdlib/cdlib-ui.git"
},
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/cdlib/cdlib-ui/issues"
},
"homepage": "https://github.com/cdlib/cdlib-ui#readme",
"devDependencies": {
"@faker-js/faker": "^7.6.0",
"@fortawesome/fontawesome-pro": "^6.2.1",
"@frctl/fractal": "^1.5.13",
"@frctl/mandelbrot": "^1.4.0",
"@parcel/optimizer-data-url": "^2.8.0",
"@parcel/transformer-inline-string": "^2.8.0",
"@parcel/transformer-raw": "^2.8.0",
"@parcel/transformer-sass": "^2.8.0",
"@percy/cli": "^1.2.1",
"del-cli": "^4.0.1",
"format-json-files": "^1.0.6",
"http-server": "^14.1.0",
"modern-normalize": "^1.1.0",
"npm-run-all": "^4.1.5",
"onchange": "^7.1.0",
"pa11y-ci": "^3.0.1",
"parcel": "^2.8.0",
"parcel-namer-custom": "^0.2.0",
"sitemap-generator-cli": "^7.5.0",
"snazzy": "^9.0.0",
"source-sans": "^3.28.0",
"standard": "^17.0.0",
"start-server-and-test": "^1.14.0",
"stylelint": "^14.11.0",
"stylelint-config-property-sort-order-smacss": "^9.0.0",
"stylelint-config-recommended-scss": "^6.0.0",
"stylelint-scss": "^4.2.0"
},
"browserslist": [
"defaults"
],
"@parcel/transformer-css": {
"drafts": {
"customMedia": true
}
},
"parcel-namer-custom": {
"scss/.*": "css/[name].css"
},
"percy": {
"version": 1,
"snapshot": {
"widths": [
1000
]
}
},
"stylelint": {
"defaultSeverity": "warning",
"extends": [
"stylelint-config-recommended-scss",
"stylelint-config-property-sort-order-smacss"
],
"rules": {
"max-nesting-depth": [
4,
{
"ignore": [
"blockless-at-rules",
"pseudo-classes"
]
}
],
"no-descending-specificity": null
}
},
"dependencies": {
"details-element-polyfill": "^2.4.0"
}
}