-
Notifications
You must be signed in to change notification settings - Fork 16
/
package.json
64 lines (64 loc) · 2.03 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
{
"name": "@pressbooks/pressbooks-book",
"description": "This theme is named after Canadian media theorist Marshall McLuhan, who coined the phrase “the medium is the message.” It is designed for academic writing and is also suitable for fiction. Headings are set in Cormorant Garamond, and body type is set in Lora.",
"author": "Pressbooks (Book Oven Inc.)",
"license": "GPL-3.0-or-later",
"engines": {
"node": ">= 18"
},
"repository": {
"type": "git",
"url": "git+https://github.com/pressbooks/pressbooks-book.git"
},
"dependencies": {
"aetna": "^1.0.0",
"buckram": "^1.8.4",
"details-element-polyfill": "^2.4.0",
"lity": "^2.4.0",
"sharer.js": "^0.5.1",
"spinkit": "^2.0.1"
},
"devDependencies": {
"npm-run-all": "^4.1.5",
"pressbooks-build-tools": "^4.0.0",
"recursive-copy-cli": "^1.0.20"
},
"scripts": {
"build": "mix --production",
"lint:scripts": "eslint \"assets/src/scripts/**/*.js\"",
"lint:styles": "stylelint \"assets/src/styles/**/*.scss\" \"assets/styles/**/*.scss\"",
"fix-styles": "stylelint \"assets/src/styles/**/*.scss\" \"assets/styles/**/*.scss\" --fix",
"fix-scripts": "eslint \"assets/src/scripts/**/*.js\" --fix",
"lint": "run-s lint:*",
"production": "mix --production",
"rmdist": "rimraf dist",
"start": "mix watch",
"test": "npm run lint",
"postinstall": "npx recursive-copy-cli node_modules/buckram packages/buckram -w"
},
"eslintConfig": {
"extends": "./node_modules/pressbooks-build-tools/config/eslint.js",
"rules": {
"jsdoc/require-param-description": "off",
"jsdoc/require-param-type": "off",
"jsdoc/require-returns": "off",
"jsdoc/require-returns-description": "off"
},
"globals": {
"$": true,
"pressbooksBook": true,
"pressbooksHypothesis": true
}
},
"eslintIgnore": [
"assets/src/scripts/routes/home.js",
"assets/src/scripts/routes/single.js"
],
"stylelint": {
"extends": "./node_modules/pressbooks-build-tools/config/stylelint.js",
"rules": {
"no-descending-specificity": null,
"scss/dollar-variable-pattern": null
}
}
}