-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
76 lines (76 loc) · 2.37 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
{
"name": "klaro-ui",
"version": "1.1.2",
"description": "The Klaro consent manager custom UI for the California Digital Library",
"scripts": {
"start": "run-p parcel:dev watch:styles watch:js --silent",
"build": "run-s parcel:build lint:styles lint:js --silent",
"deploy": "run-s parcel:deploy --silent",
"prestart": "del dev",
"prebuild": "del dist",
"predeploy": "del deploy",
"parcel:dev": "parcel src/index.html --dist-dir dev",
"parcel:build": "parcel build 'css/[!base]*.css' --dist-dir dist --no-source-maps --no-cache",
"parcel:deploy": "parcel build src/index.html --dist-dir deploy --public-url ./ --no-source-maps --no-cache",
"watch:styles": "onchange -i 'css/*.css' -- npm run lint:styles",
"watch:js": "onchange -i js/* -- npm run lint:js",
"lint:styles": "stylelint 'css/*.css'",
"lint:js": "standard js/* --verbose | snazzy || exit 0",
"prepare": "npm run build",
"test": "http-server deploy",
"update-caniuse-lite": "npx update-browserslist-db@latest",
"format-js": "standard --fix"
},
"repository": {
"type": "git",
"url": "git+https://github.com/cdlib/klaro-ui.git"
},
"author": "JoelCDL",
"license": "ISC",
"bugs": {
"url": "https://github.com/cdlib/klaro-ui/issues"
},
"homepage": "https://github.com/cdlib/klaro-ui#readme",
"engines": {
"node": "~20",
"npm": "~10"
},
"devDependencies": {
"@faker-js/faker": "^9.3.0",
"buffer": "^6.0.3",
"del-cli": "^6.0.0",
"http-server": "^14.1.1",
"npm-run-all": "^4.1.5",
"onchange": "^7.1.0",
"parcel": "^2.13.2",
"snazzy": "^9.0.0",
"standard": "^17.1.0",
"stylelint": "^16.8.1",
"stylelint-config-property-sort-order-smacss": "^10.0.0",
"stylelint-config-standard": "^36.0.1"
},
"browserslist": [
"defaults"
],
"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"
}
]
}
},
"dependencies": {
"klaro": "^0.7.21"
}
}