forked from mwilliamson/mammoth.js
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
59 lines (59 loc) · 1.79 KB
/
package.json
File metadata and controls
59 lines (59 loc) · 1.79 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
{
"name": "h4mammoth",
"version": "3.0.1",
"author": "Gorjan Petrovski<gorjan@hfour.com>, Michael Williamson <mike@zwobble.org>",
"description": "Incompatible fork from mammoth.js. Convert Word documents from docx to simple HTML and Markdown",
"keywords": [
"docx",
"html",
"office",
"word",
"markdown",
"md"
],
"main": "./lib/index.js",
"repository": {
"type": "git",
"url": "https://github.com/hfour/mammoth.js.git"
},
"dependencies": {
"argparse": "~1.0.3",
"bluebird": "~3.5.5",
"jszip": "~2.5.0",
"lop": "~0.4.1",
"path-is-absolute": "^1.0.0",
"sax": "~1.1.1",
"underscore": "~1.12.1",
"xmlbuilder": "^10.0.0"
},
"devDependencies": {
"browserify": "~16.5.1",
"browserify-prepend-licenses": "~1.0.0",
"duck": "~0.1.11",
"eslint": "2.13.1",
"flow-bin": "^0.32.0",
"hamjest": "^3.3.1",
"mocha": "^7.1.1",
"temp": "^0.9.1",
"uglify-js": "~3.8.1"
},
"browser": {
"./lib/unzip.js": "./browser/unzip.js",
"./lib/docx/files.js": "./browser/docx/files.js"
},
"bin": {
"mammoth": "bin/mammoth"
},
"scripts": {
"pretest": "eslint lib tests",
"deep-clean": "git clean -fdx ./build ./node_modules",
"clean": "git clean -fdx ./build",
"test": "mocha 'test/**/*.tests.js'",
"testfile": "mocha",
"build": "mkdir -p build && yarn mammoth.browser.js && yarn mammoth.browser.min.js",
"mammoth.browser.js": "node_modules/.bin/browserify lib/index.js --standalone mammoth -p browserify-prepend-licenses > ./build/mammoth.browser.js",
"mammoth.browser.min.js": "node_modules/.bin/uglifyjs ./build/mammoth.browser.js -c > ./build/mammoth.browser.min.js",
"prepublishOnly": "yarn deep-clean && yarn install && yarn test && yarn build"
},
"license": "BSD-2-Clause"
}