-
Notifications
You must be signed in to change notification settings - Fork 20
/
package.json
53 lines (53 loc) · 2.82 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
{
"name": "readium-css",
"description": "A set of reference stylesheets for EPUB Reading Systems",
"version": "2.0.0-alpha.2",
"homepage": "https://github.com/readium/readium-css",
"license": "BSD-3-Clause",
"keywords": [
"epub",
"epub3",
"epub-reader",
"ebook-reader",
"css"
],
"author": {
"name": "readium",
"email": "readium-css@edrlab.org",
"url": "http://www.edrlab.org"
},
"repository": {
"type": "git",
"url": "https://github.com/readium/readium-css.git"
},
"bugs": {
"url": "https://github.com/readium/readium-css/issues"
},
"main": "css/ReadiumCSS-config.css",
"devDependencies": {
"backstopjs": "^6.3.23",
"copyfiles": "^2.4.1",
"express": "^4.21.1",
"postcss-alter-property-value": "^1.1.3",
"postcss-cli": "^11.0.0",
"postcss-css-variables": "^0.19.0",
"postcss-custom-selectors": "^6.0.3",
"postcss-discard-comments": "^6.0.2",
"postcss-header": "^3.0.3",
"postcss-import": "^16.1.0",
"postcss-sorting": "^8.0.2",
"stylelint": "^16.4.0"
},
"scripts": {
"build": "npm run build:ltr && npm run build:rtl && npm run build:cjk && npm run build:vertical && npm run copyPatches",
"build:ltr": "postcss css/src/ReadiumCSS-before.css -o css/dist/ReadiumCSS-before.css && postcss css/src/ReadiumCSS-default.css -o css/dist/ReadiumCSS-default.css && postcss css/src/ReadiumCSS-after.css -o css/dist/ReadiumCSS-after.css",
"build:rtl": "postcss css/src/ReadiumCSS-before-rtl.css -o css/dist/rtl/ReadiumCSS-before.css && postcss css/src/ReadiumCSS-default-rtl.css -o css/dist/rtl/ReadiumCSS-default.css && postcss css/src/ReadiumCSS-after-rtl.css -o css/dist/rtl/ReadiumCSS-after.css",
"build:cjk": "postcss css/src/ReadiumCSS-before-cjk-horizontal.css -o css/dist/cjk-horizontal/ReadiumCSS-before.css && postcss css/src/ReadiumCSS-default-cjk-horizontal.css -o css/dist/cjk-horizontal/ReadiumCSS-default.css && postcss css/src/ReadiumCSS-after-cjk-horizontal.css -o css/dist/cjk-horizontal/ReadiumCSS-after.css",
"build:vertical": "postcss css/src/ReadiumCSS-before-cjk-vertical.css -o css/dist/cjk-vertical/ReadiumCSS-before.css && postcss css/src/ReadiumCSS-default-cjk-vertical.css -o css/dist/cjk-vertical/ReadiumCSS-default.css && postcss css/src/ReadiumCSS-after-cjk-vertical.css -o css/dist/cjk-vertical/ReadiumCSS-after.css",
"copyPatches": "copyfiles -u 2 css/src/ReadiumCSS-ebpaj_fonts_patch.css 'css/src/android-fonts-patch/android-fonts-patch.css' css/dist",
"start": "node \"./server.js\"",
"test": "npm start & backstop test && pkill -9 -f \"node ./server.js\" && echo '\nVisual Regression testing has been completed.\n'",
"test:ref": "npm start & backstop reference && pkill -9 -f \"node ./server.js\" && echo '\nVisual Regression references have been generated.\n'",
"test:approve": "backstop approve"
}
}