forked from pressbooks/pressbooks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
76 lines (76 loc) · 2.78 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": "@pressbooks/pressbooks",
"description": "Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, MOBI, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.",
"scripts": {
"build": "cross-env NODE_ENV=development webpack --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
"watch": "cross-env NODE_ENV=development webpack --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
"hot": "cross-env NODE_ENV=development webpack-dev-server --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js",
"build:production": "cross-env NODE_ENV=production webpack --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
"lint": "npm run -s lint:scripts && npm run -s lint:styles",
"lint:scripts": "cross-env NODE_ENV=development node_modules/eslint/bin/eslint.js \"assets/src/scripts/*.js\"",
"lint:styles": "cross-env NODE_ENV=development node_modules/stylelint/bin/stylelint.js \"assets/src/styles/**/*.scss\" --syntax scss",
"localize": "wp-pot -s \"**/*.php\" -o languages/_pressbooks.pot -p \"Pressbooks\" -t \"Pressbooks (Book Oven Inc.) <code@pressbooks.com>\"",
"install": "npm run -s build:production"
},
"engines": {
"node": ">= 6.9.4"
},
"dependencies": {
"block-ui": "^2.70.1",
"countup.js": "^1.8.5",
"isotope-layout": "^3.0.6",
"jquery-match-height": "^0.7.2",
"jquery-sticky": "^1.0.4",
"js-cookie": "^2.1.4",
"pagedjs": "^0.1.14",
"select2": "^4.0.3",
"sidr": "^2.2.1",
"tinymce": "^4.8.3",
"wp-admin-colors": "^4.9.5",
"wpapi": "^1.1.2"
},
"devDependencies": {
"pressbooks-build-tools": "^0.13.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/pressbooks/pressbooks.git"
},
"keywords": [
"ebooks",
"publishing",
"webbooks"
],
"author": "Book Oven Inc. <code@pressbooks.com>",
"license": "GPL-3.0-or-later",
"bugs": {
"url": "https://github.com/pressbooks/pressbooks/issues"
},
"homepage": "https://github.com/pressbooks/pressbooks/",
"eslintConfig": {
"extends": "./node_modules/pressbooks-build-tools/config/eslint.js",
"globals": {
"ajaxurl": true,
"chapter_export": true,
"chapter_show_title": true,
"edButton": true,
"edButtons": true,
"PB_BookInfoToken": true,
"PB_FootnotesToken": true,
"PB_GlossaryToken": true,
"PB_Login": true,
"PB_NetworkManagerToken": true,
"PB_OrganizeToken": true,
"PB_ThemeLockToken": true,
"pb_sr": true,
"post_status": true,
"tinymce": true
}
},
"stylelint": {
"extends": "./node_modules/pressbooks-build-tools/config/stylelint.js",
"rules": {
"no-descending-specificity": null
}
}
}