1 | {
|
2 | "name": "docx4js",
|
3 | "description": "javascript docx parser",
|
4 | "version": "3.1.15",
|
5 | "author": {
|
6 | "name": "Raymond Li",
|
7 | "email": "lalalic@139.com"
|
8 | },
|
9 | "keywords": [
|
10 | "docx",
|
11 | "parser",
|
12 | "javascript"
|
13 | ],
|
14 | "license": "GPL",
|
15 | "readme": "README.md",
|
16 | "repository": {
|
17 | "type": "git",
|
18 | "url": "https://github.com/lalalic/docx4js.git"
|
19 | },
|
20 | "devDependencies": {
|
21 | "babel-cli": "^6.6.5",
|
22 | "babel-plugin-add-module-exports": "^0.1.2",
|
23 | "babel-plugin-transform-class-properties": "^6.6.0",
|
24 | "babel-plugin-transform-object-rest-spread": "^6.6.5",
|
25 | "babel-preset-es2015": "^6.6.0",
|
26 | "browserify": "^13.0.0",
|
27 | "jest": "^18.1.0",
|
28 | "uglifyify": "^3.0.1",
|
29 | "watchify": ">=3.0.0 <4.0.0"
|
30 | },
|
31 | "dependencies": {
|
32 | "cfb": "^0.12.1",
|
33 | "cheerio": "^0.22.0",
|
34 | "htmlparser2": "^3.9.2",
|
35 | "jszip": "^2.6.0"
|
36 | },
|
37 | "babel": {
|
38 | "presets": [
|
39 | "es2015"
|
40 | ],
|
41 | "plugins": [
|
42 | "babel-plugin-add-module-exports",
|
43 | "babel-plugin-transform-object-rest-spread",
|
44 | "babel-plugin-transform-class-properties"
|
45 | ],
|
46 | "sourceMaps": "inline"
|
47 | },
|
48 | "main": "./lib/",
|
49 | "scripts": {
|
50 | "compile": "babel src -d lib",
|
51 | "compile-superdaddy": "babel src -d ../superdaddy/node_modules/docx4js/lib",
|
52 | "compile-docx-template": "babel src -d ../docx-template/node_modules/docx4js/lib",
|
53 | "compile-we-edit": "babel src -d ../we-edit/node_modules/docx4js/lib",
|
54 | "build": "browserify -g uglifyify -r ./lib/index.js:docx4js -o dist/docx4js.js",
|
55 | "build.watch": "watchify -v -d -r ./lib/index.js:docx4js -o dist/index.js",
|
56 | "test": "jest",
|
57 | "test.http": "http-server dist -c-1",
|
58 | "doc": "esdoc -c esdoc.json"
|
59 | }
|
60 | }
|