-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
91 lines (91 loc) · 3.22 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"name": "intracdl-ui",
"version": "2.0.0",
"description": "The UI for the IntraCDL website",
"scripts": {
"start": "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 fractal-dist dist",
"fractal-dev": "fractal start --sync --watch",
"fractal-build": "fractal build",
"parcel-dev": "parcel watch css/main.css js/main.js images/* --dist-dir dist --public-url . --no-cache",
"parcel-build": "parcel build css/main.css js/main.js images/* --dist-dir dist --public-url . --no-cache --no-source-maps",
"parcel-test": "parcel watch css/tests.css js/tests.js images/* --dist-dir dist --public-url . --no-cache",
"watchstyles": "onchange -i 'css/**/*.css' -- npm run lintstyles",
"watchjs": "onchange -i js/* -- npm run lintjs",
"lintstyles": "stylelint 'css/**/*.css' '!css/main.css'",
"lintjs": "standard js/* --verbose | snazzy || exit 0",
"test": "npm-run-all clean --parallel parcel-test fractal-dev watchstyles watchjs --silent",
"update-caniuse-lite": "npx update-browserslist-db@latest"
},
"repository": {
"type": "git",
"url": "git+https://github.com/cdlib/intracdl-ui.git"
},
"author": "JoelCDL",
"license": "ISC",
"bugs": {
"url": "https://github.com/cdlib/intracdl-ui/issues"
},
"homepage": "https://github.com/cdlib/intracdl-ui#readme",
"engines": {
"node": "~20",
"npm": "~10"
},
"devDependencies": {
"@faker-js/faker": "^8.4.1",
"@fortawesome/fontawesome-pro": "^6.6.0",
"@frctl/fractal": "^1.5.15",
"@parcel/optimizer-data-url": "^2.12.0",
"@parcel/transformer-inline-string": "^2.12.0",
"del-cli": "^5.1.0",
"modern-normalize": "^2.0.0",
"npm-run-all": "^4.1.5",
"onchange": "^7.1.0",
"parcel": "^2.12.0",
"postcss": "^8.4.40",
"postcss-import": "^16.1.0",
"postcss-import-ext-glob": "^2.1.1",
"snazzy": "^9.0.0",
"source-sans": "^3.46.0",
"standard": "^17.1.0",
"stylelint": "^16.8.1",
"stylelint-config-property-sort-order-smacss": "^10.0.0",
"stylelint-config-standard": "^36.0.1"
},
"alias": {
"fa-brands/*": "@fortawesome/fontawesome-pro/svgs/brands/$1",
"fa-light/*": "@fortawesome/fontawesome-pro/svgs/light/$1",
"fa-regular/*": "@fortawesome/fontawesome-pro/svgs/regular/$1",
"fa-sharp-solid/*": "@fortawesome/fontawesome-pro/svgs/sharp-solid/$1",
"fa-solid/*": "@fortawesome/fontawesome-pro/svgs/solid/$1",
"fa-thin/*": "@fortawesome/fontawesome-pro/svgs/thin/$1"
},
"browserslist": [
"defaults"
],
"@parcel/transformer-css": {
"drafts": {
"customMedia": true
},
"errorRecovery": true
},
"stylelint": {
"defaultSeverity": "warning",
"extends": [
"stylelint-config-standard",
"stylelint-config-property-sort-order-smacss"
],
"rules": {
"import-notation": null,
"max-nesting-depth": 2,
"no-descending-specificity": null,
"selector-class-pattern": [
"^([a-z][a-z0-9]*)(-[a-z0-9]+)*((__([a-z][a-z0-9]*)(-[a-z0-9]+)*)?(--([a-z][a-z0-9]*)(-[a-z0-9]+)*)?)$",
{
"message": "Expected class pattern to be BEM style"
}
]
}
}
}