Files
docx-js/package.json

123 lines
3.5 KiB
JSON
Raw Normal View History

2016-03-27 02:27:44 +01:00
{
2016-03-27 02:46:26 +01:00
"name": "docx",
2023-04-20 00:58:11 +01:00
"version": "8.0.3",
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",
2023-05-01 20:37:39 +01:00
"type": "module",
2016-03-27 02:46:26 +01:00
"scripts": {
2023-05-01 20:37:39 +01:00
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
"pretest": "rimraf ./build",
2022-06-15 11:16:02 +01:00
"test": "mocha --config=.mocharc.json",
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",
2023-05-01 20:37:39 +01:00
"lint": "eslint --ext .ts src",
2021-03-31 21:27:40 +01:00
"webpack": "rimraf ./build && webpack --config ./webpack.config.ts",
2023-05-01 20:37:39 +01:00
"demo": "ts-node --esm ./demo/index.ts",
2021-03-09 03:00:30 +00:00
"typedoc": "rimraf ./build && typedoc src/index.ts --tsconfig tsconfig.typedoc.json",
2022-07-06 15:26:17 +01:00
"style": "prettier -l \"{src,scripts,demo}/**/*.{ts,html}\"",
2018-10-26 20:11:40 +01:00
"style.fix": "npm run style -- --write",
2022-07-06 15:26:17 +01:00
"cspell": "cspell \"{src,demo,docs,scripts}/**/*.{ts,scss,html,md}\" && cspell \"./*.*\"",
2021-09-30 14:16:42 +01:00
"fix-types": "ts-node --skip-project 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",
2021-09-30 15:37:20 +01:00
"extract": "ts-node --project tsconfig.spec.json scripts/extract-document.ts",
2021-03-31 21:27:40 +01:00
"ts-node": "ts-node --skip-project"
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": [
2023-03-19 19:42:40 +00:00
"build"
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",
"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": {
"@types/node": "^18.0.0",
2018-04-24 21:12:09 +01:00
"jszip": "^3.1.5",
2022-12-09 21:56:50 +00:00
"nanoid": "^3.3.4",
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"
},
2023-03-21 04:31:21 +00:00
"homepage": "https://docx.js.org",
2016-03-27 02:46:26 +01:00
"devDependencies": {
"@types/chai": "^4.2.15",
"@types/chai-as-promised": "^7.1.5",
"@types/mocha": "^10.0.0",
2021-09-30 14:52:50 +01:00
"@types/prompt": "^1.1.1",
2019-01-15 00:23:01 +00:00
"@types/request-promise": "^4.1.42",
2023-03-19 19:46:06 +00:00
"@types/shelljs": "^0.8.11",
"@types/sinon": "^10.0.0",
2021-09-29 23:47:33 +01:00
"@types/unzipper": "^0.10.4",
"@types/webpack": "^5.0.0",
2023-05-01 20:37:39 +01:00
"@types/xml": "^1.0.8",
2022-08-31 07:52:27 +01:00
"@typescript-eslint/eslint-plugin": "^5.36.1",
"@typescript-eslint/parser": "^5.36.1",
2021-03-31 21:27:40 +01:00
"buffer": "^6.0.3",
2022-10-25 01:08:54 +01:00
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
2022-07-04 14:51:36 +01:00
"cspell": "^6.2.2",
2019-08-06 00:52:50 +01:00
"docsify-cli": "^4.3.0",
2022-08-31 07:52:27 +01:00
"eslint": "^8.23.0",
2023-02-02 17:44:12 +00:00
"eslint-plugin-functional": "^5.0.1",
2022-08-31 07:52:27 +01:00
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsdoc": "^40.0.0",
2022-08-31 07:52:27 +01:00
"eslint-plugin-no-null": "^1.0.2",
"eslint-plugin-prefer-arrow": "^1.2.3",
"eslint-plugin-unicorn": "^46.0.0",
2023-03-30 20:13:35 +01:00
"execa": "^7.1.1",
"glob": "^9.3.0",
"jszip": "^3.1.5",
"mocha": "^10.0.0",
"nyc": "^15.1.0",
2018-08-06 03:26:30 +01:00
"pre-commit": "^1.2.2",
2021-06-15 00:25:44 +01:00
"prettier": "^2.3.1",
2021-03-31 21:27:40 +01:00
"process": "^0.11.10",
"prompt": "^1.0.0",
"replace-in-file": "^6.2.0",
2019-01-15 00:23:01 +00:00
"request": "^2.88.0",
"request-promise": "^4.2.2",
"rimraf": "^4.0.4",
"shelljs": "^0.8.4",
"sinon": "^15.0.0",
2021-03-31 21:27:40 +01:00
"stream-browserify": "^3.0.0",
"ts-loader": "^9.0.0",
"ts-node": "^10.2.1",
"tsconfig-paths": "^4.0.0",
"tsconfig-paths-webpack-plugin": "^4.0.0",
"typedoc": "^0.23.2",
"typescript": "5.0.3",
2021-09-29 23:47:33 +01:00
"unzipper": "^0.10.11",
2023-05-01 20:37:39 +01:00
"vite": "^4.3.2",
"vite-tsconfig-paths": "^4.2.0",
2021-03-31 21:27:40 +01:00
"webpack": "^5.28.0",
"webpack-cli": "^5.0.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
}
}