96 lines
2.4 KiB
JSON
96 lines
2.4 KiB
JSON
{
|
|
"name": "docx",
|
|
"version": "5.0.0-rc1",
|
|
"description": "Generate .docx documents with JavaScript (formerly Office-Clippy)",
|
|
"main": "build/index.js",
|
|
"scripts": {
|
|
"pretest": "rimraf ./build",
|
|
"test": "mocha-webpack \"src/**/*.ts\"",
|
|
"test.coverage": "nyc npm test",
|
|
"test.watch": "npm test -- --watch",
|
|
"prepublishOnly": "npm run build --production",
|
|
"lint": "tslint --project .",
|
|
"build": "npm run webpack && npm run fix-types",
|
|
"tsc": "rimraf ./build && tsc -p .",
|
|
"webpack": "rimraf ./build && webpack",
|
|
"demo": "npm run build && npm run ts-node ./demo",
|
|
"typedoc": "typedoc src/index.ts",
|
|
"style": "prettier -l \"src/**/*.ts\"",
|
|
"style.fix": "npm run style -- --write",
|
|
"fix-types": "ts-node scripts/types-absolute-fixer.ts",
|
|
"e2e": "ts-node scripts/e2e.ts",
|
|
"ts-node": "ts-node"
|
|
},
|
|
"pre-commit": [
|
|
"style",
|
|
"lint"
|
|
],
|
|
"files": [
|
|
"src",
|
|
"build",
|
|
"template"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/dolanmiu/docx.git"
|
|
},
|
|
"keywords": [
|
|
"docx",
|
|
"office",
|
|
"word",
|
|
"generate",
|
|
"creator",
|
|
"create",
|
|
"document",
|
|
"doc",
|
|
"officegen",
|
|
"clippy"
|
|
],
|
|
"types": "./build/index.d.ts",
|
|
"dependencies": {
|
|
"@types/jszip": "^3.1.4",
|
|
"jszip": "^3.1.5",
|
|
"xml": "^1.0.1",
|
|
"xml-js": "^1.6.8"
|
|
},
|
|
"author": "Dolan Miu",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/dolanmiu/docx/issues"
|
|
},
|
|
"homepage": "https://github.com/dolanmiu/docx#readme",
|
|
"devDependencies": {
|
|
"@types/chai": "^3.4.35",
|
|
"@types/mocha": "^2.2.39",
|
|
"@types/request-promise": "^4.1.42",
|
|
"@types/sinon": "^4.3.1",
|
|
"@types/webpack": "^4.4.24",
|
|
"awesome-typescript-loader": "^3.4.1",
|
|
"chai": "^3.5.0",
|
|
"glob": "^7.1.2",
|
|
"istanbul-instrumenter-loader": "^3.0.1",
|
|
"jszip": "^3.1.5",
|
|
"mocha": "^5.2.0",
|
|
"mocha-webpack": "^1.0.1",
|
|
"nyc": "^13.1.0",
|
|
"pre-commit": "^1.2.2",
|
|
"prettier": "^1.15.2",
|
|
"prompt": "^1.0.0",
|
|
"replace-in-file": "^3.1.0",
|
|
"request": "^2.88.0",
|
|
"request-promise": "^4.2.2",
|
|
"rimraf": "^2.5.2",
|
|
"shelljs": "^0.7.7",
|
|
"sinon": "^5.0.7",
|
|
"ts-node": "^7.0.1",
|
|
"tslint": "^5.11.0",
|
|
"tslint-immutable": "^4.9.0",
|
|
"typedoc": "^0.11.1",
|
|
"typescript": "2.9.2",
|
|
"webpack": "^3.10.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=8"
|
|
}
|
|
}
|