2016-03-27 02:27:44 +01:00
|
|
|
{
|
2016-03-27 02:46:26 +01:00
|
|
|
"name": "docx",
|
2020-08-01 17:28:11 +01:00
|
|
|
"version": "5.3.0",
|
2019-11-18 11:29:32 +00:00
|
|
|
"description": "Easily generate .docx files with JS/TS with a nice declarative API. Works for Node and on the Browser.",
|
2016-05-10 15:26:36 +01:00
|
|
|
"main": "build/index.js",
|
2016-03-27 02:46:26 +01:00
|
|
|
"scripts": {
|
2017-12-30 20:25:16 +00:00
|
|
|
"pretest": "rimraf ./build",
|
2017-12-30 20:01:20 +00:00
|
|
|
"test": "mocha-webpack \"src/**/*.ts\"",
|
2018-10-26 20:30:42 +01:00
|
|
|
"test.coverage": "nyc npm test",
|
2018-10-26 20:11:40 +01:00
|
|
|
"test.watch": "npm test -- --watch",
|
2019-02-08 12:04:17 +00:00
|
|
|
"prepublishOnly": "npm run build --production",
|
2017-12-29 01:11:59 +00:00
|
|
|
"lint": "tslint --project .",
|
2018-02-02 01:56:08 +00:00
|
|
|
"build": "npm run webpack && npm run fix-types",
|
2017-12-29 01:11:59 +00:00
|
|
|
"tsc": "rimraf ./build && tsc -p .",
|
2017-12-22 16:49:25 +00:00
|
|
|
"webpack": "rimraf ./build && webpack",
|
2018-08-23 01:05:26 +01:00
|
|
|
"demo": "npm run build && npm run ts-node ./demo",
|
2018-08-08 22:51:54 +01:00
|
|
|
"typedoc": "typedoc src/index.ts",
|
2018-04-10 21:06:02 +01:00
|
|
|
"style": "prettier -l \"src/**/*.ts\"",
|
2018-10-26 20:11:40 +01:00
|
|
|
"style.fix": "npm run style -- --write",
|
2019-01-15 00:23:01 +00:00
|
|
|
"fix-types": "ts-node scripts/types-absolute-fixer.ts",
|
2019-01-15 00:50:38 +00:00
|
|
|
"e2e": "ts-node scripts/e2e.ts",
|
2019-04-30 00:30:18 +01:00
|
|
|
"serve.docs": "cd docs && docsify serve",
|
2018-08-21 02:46:21 +01:00
|
|
|
"ts-node": "ts-node"
|
2016-03-27 02:46:26 +01:00
|
|
|
},
|
2018-08-06 03:26:30 +01:00
|
|
|
"pre-commit": [
|
|
|
|
"style",
|
|
|
|
"lint"
|
|
|
|
],
|
2017-03-08 11:48:56 +01:00
|
|
|
"files": [
|
2017-12-15 00:01:59 +00:00
|
|
|
"src",
|
2017-03-13 20:35:27 +01:00
|
|
|
"build",
|
|
|
|
"template"
|
2017-03-08 11:48:56 +01:00
|
|
|
],
|
2016-03-27 02:46:26 +01:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "git+https://github.com/dolanmiu/docx.git"
|
|
|
|
},
|
|
|
|
"keywords": [
|
2017-09-19 16:02:06 +01:00
|
|
|
"docx",
|
2016-03-27 02:46:26 +01:00
|
|
|
"office",
|
2017-03-14 11:28:05 +00:00
|
|
|
"word",
|
2016-03-27 02:46:26 +01:00
|
|
|
"generate",
|
2017-03-14 10:51:05 +00:00
|
|
|
"creator",
|
2017-03-14 11:33:46 +00:00
|
|
|
"create",
|
2016-03-27 02:46:26 +01:00
|
|
|
"document",
|
2017-03-07 22:15:53 +00:00
|
|
|
"doc",
|
|
|
|
"officegen",
|
|
|
|
"clippy"
|
2016-03-27 02:46:26 +01:00
|
|
|
],
|
2017-07-07 14:34:03 +01:00
|
|
|
"types": "./build/index.d.ts",
|
2016-03-27 02:46:26 +01:00
|
|
|
"dependencies": {
|
2018-08-29 18:36:48 +03:00
|
|
|
"@types/jszip": "^3.1.4",
|
2020-05-28 18:38:55 +01:00
|
|
|
"@types/node": "^14.0.5",
|
2018-04-24 21:12:09 +01:00
|
|
|
"jszip": "^3.1.5",
|
2019-11-08 10:50:18 +01:00
|
|
|
"shortid": "^2.2.15",
|
2018-10-17 09:15:32 +03:00
|
|
|
"xml": "^1.0.1",
|
|
|
|
"xml-js": "^1.6.8"
|
2016-03-27 02:46:26 +01:00
|
|
|
},
|
|
|
|
"author": "Dolan Miu",
|
|
|
|
"license": "MIT",
|
|
|
|
"bugs": {
|
|
|
|
"url": "https://github.com/dolanmiu/docx/issues"
|
|
|
|
},
|
|
|
|
"homepage": "https://github.com/dolanmiu/docx#readme",
|
|
|
|
"devDependencies": {
|
2017-03-07 22:15:53 +00:00
|
|
|
"@types/chai": "^3.4.35",
|
2020-07-16 20:26:36 +00:00
|
|
|
"@types/mocha": "^8.0.0",
|
2019-01-15 00:23:01 +00:00
|
|
|
"@types/request-promise": "^4.1.42",
|
2019-12-21 03:58:58 +00:00
|
|
|
"@types/shortid": "0.0.29",
|
2020-07-17 08:42:58 +00:00
|
|
|
"@types/sinon": "^9.0.4",
|
2019-01-23 20:09:32 +00:00
|
|
|
"@types/webpack": "^4.4.24",
|
2017-12-22 16:49:25 +00:00
|
|
|
"awesome-typescript-loader": "^3.4.1",
|
2016-03-29 00:35:13 +01:00
|
|
|
"chai": "^3.5.0",
|
2019-08-06 00:52:50 +01:00
|
|
|
"docsify-cli": "^4.3.0",
|
2018-02-02 01:56:08 +00:00
|
|
|
"glob": "^7.1.2",
|
2018-10-26 20:11:40 +01:00
|
|
|
"istanbul-instrumenter-loader": "^3.0.1",
|
2018-06-21 12:03:34 +02:00
|
|
|
"jszip": "^3.1.5",
|
2018-08-21 07:16:27 -03:00
|
|
|
"mocha": "^5.2.0",
|
2017-12-30 20:01:20 +00:00
|
|
|
"mocha-webpack": "^1.0.1",
|
2020-07-31 09:08:10 +00:00
|
|
|
"nyc": "^15.1.0",
|
2018-08-06 03:26:30 +01:00
|
|
|
"pre-commit": "^1.2.2",
|
2020-08-01 17:40:57 +01:00
|
|
|
"prettier": "^2.0.5",
|
2017-04-14 15:48:12 +01:00
|
|
|
"prompt": "^1.0.0",
|
2018-02-02 01:56:08 +00:00
|
|
|
"replace-in-file": "^3.1.0",
|
2019-01-15 00:23:01 +00:00
|
|
|
"request": "^2.88.0",
|
|
|
|
"request-promise": "^4.2.2",
|
2016-07-01 22:39:17 +01:00
|
|
|
"rimraf": "^2.5.2",
|
2020-07-28 08:43:57 +00:00
|
|
|
"shelljs": "^0.8.4",
|
2020-07-30 10:48:07 +00:00
|
|
|
"sinon": "^9.0.2",
|
2020-07-31 09:06:34 +00:00
|
|
|
"ts-node": "^8.10.2",
|
2018-08-07 01:38:15 +01:00
|
|
|
"tslint": "^5.11.0",
|
2018-11-02 02:51:57 +00:00
|
|
|
"tslint-immutable": "^4.9.0",
|
2020-07-28 08:43:10 +00:00
|
|
|
"typedoc": "^0.16.11",
|
2018-07-21 01:13:17 +01:00
|
|
|
"typescript": "2.9.2",
|
2017-12-22 16:49:25 +00:00
|
|
|
"webpack": "^3.10.0"
|
2018-08-31 11:25:05 -04:00
|
|
|
},
|
|
|
|
"engines": {
|
2020-08-01 17:49:25 +01:00
|
|
|
"node": ">=10"
|
2016-03-27 02:46:26 +01:00
|
|
|
}
|
|
|
|
}
|