forked from cwrc/Islandora-CWRC-Writer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
60 lines (57 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
54
55
56
57
58
59
60
{
"name": "islandora-cwrc-writer",
"version": "0.9.0",
"description": "A wrapper to use CWRC-Writer with Islandora.",
"repository": {
"type": "git",
"url": "git+https://github.com/cwrc/Islandora-CWRC-Writer.git"
},
"keywords": [
"cwrc",
"islandora",
"drupal"
],
"contributors": "Andrew MacDonald",
"license": "GPL-2.0",
"bugs": {
"url": "https://github.com/cwrc/Islandora-CWRC-Writer/issues"
},
"homepage": "https://github.com/cwrc/Islandora-CWRC-Writer#readme",
"scripts": {
"build": "npm run clean && npm run copyfiles && npm run build:js",
"clean": "rimraf build",
"copyfiles": "npm run copy:images && npm run copy:css && npm run copy:xml && npm run copy:jstree && npm run tinymce:copyskin ",
"copy:images": "copyfiles -u 3 \"node_modules/cwrc-writer-base/src/img/**/*\" build/",
"copy:css": "copyfiles -u 3 \"node_modules/cwrc-writer-base/src/css/**/*\" build/ && copyfiles -f node_modules/prismjs/themes/prism.css build/css/",
"copy:xml": "copyfiles -u 5 \"node_modules/cwrc-writer-base/src/js/schema/*/xml/*\" build/schema/",
"copy:jstree": "copyfiles -f \"node_modules/jstree/dist/themes/default/*\" build/css/jstree/themes/default && copyfiles -f node_modules/cwrc-writer-base/src/css/jstree/themes/cwrc/cwrc.css build/css/jstree/themes/default",
"tinymce:copyskin": "copyfiles -u 2 \"node_modules/tinymce/skins/lightgray/**/*\" build/js/",
"cwrcDialogs": "npm run cwrcDialogs:importcss && npm run cwrcDialogs:bootstrap",
"cwrcDialogs:importcss": "copyfiles -f node_modules/cwrc-dialogs/css/cD.css build/css/cD/css/ && copyfiles -f node_modules/cwrc-dialogs/font-awesome/css/font-awesome.css build/css/cD/css/ && copyfiles -f \"node_modules/cwrc-dialogs/font-awesome/fonts/*\" build/css/cD/fonts/",
"cwrcDialogs:bootstrap": "copyfiles -f node_modules/cwrc-dialogs/css/bootstrap.css build/css/bootstrap/css/ && copyfiles -f \"node_modules/bootstrap/dist/fonts/*\" build/css/bootstrap/fonts/",
"build:js": "mkdirp build/js && npm run cwrcDialogs && browserify js/app.js -o build/js/app.js --debug --verbose -g deamdify -t [ babelify --presets [ es2015 ] ]",
"watch": "watchify js/app.js --debug -o build/js/app.js --verbose -g deamdify -t [ babelify --presets [ es2015 ] ]"
},
"dependencies": {
"bootstrap": "3.3.7",
"cwrc-dialogs": "cwrc/CWRC-Dialogs#npm",
"cwrc-writer-base": "cwrc/CWRC-WriterBase",
"jquery": "3.1.0",
"jquery-ui": "1.12",
"js-cookie": "2.1.3",
"tinymce": "4.6.1"
},
"devDependencies": {
"babel-preset-es2015": "6.22.0",
"babelify": "7.3.0",
"browserify": "^13.0.1",
"browserify-shim": "^3.2.0",
"copyfiles": "^1.0.0",
"deamdify": "au-phiware/deamdify",
"minifier": "^0.8.0",
"minifyify": "^7.3.3",
"mkdirp": "^0.5.1",
"rimraf": "^2.5.4",
"watchify": "^3.7.0"
}
}