-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathpackage.json
More file actions
62 lines (62 loc) · 2.13 KB
/
Copy pathpackage.json
File metadata and controls
62 lines (62 loc) · 2.13 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
{
"name": "@pressbooks/pressbooks-book",
"type": "module",
"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": ">= 22"
},
"repository": {
"type": "git",
"url": "git+https://github.com/pressbooks/pressbooks-book.git"
},
"dependencies": {
"aetna": "^1.1.0",
"buckram": "^1.10.4",
"details-element-polyfill": "^2.4.0",
"lity": "^2.4.0",
"sharer.js": "^0.5.1",
"spinkit": "^2.0.1"
},
"devDependencies": {
"pressbooks-build-tools": "^6.0.0",
"vite-plugin-static-copy": "^3.0.0"
},
"scripts": {
"build": "pressbooks-build-tools build",
"watch": "pressbooks-build-tools dev",
"lint": "npm run lint:scripts && npm run lint:styles",
"lint:scripts": "pressbooks-build-tools lint:scripts 'assets/src/scripts/**/*.js'",
"lint:styles": "pressbooks-build-tools lint:styles 'assets/src/styles/**/*.scss' 'assets/styles/**/*.scss'",
"fix": "npm run fix:scripts && npm run fix:styles",
"fix:scripts": "pressbooks-build-tools fix:scripts 'assets/src/scripts/**/*.js'",
"fix:styles": "pressbooks-build-tools fix:styles 'assets/src/styles/**/*.scss' 'assets/styles/**/*.scss'",
"postinstall": "npx recursive-copy-cli node_modules/buckram packages/buckram -w"
},
"eslintConfig": {
"extends": "./node_modules/pressbooks-build-tools/config/eslint.cjs",
"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
}
}
}