package.json 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. {
  2. "_from": "css-line-break@^2.1.0",
  3. "_id": "css-line-break@2.1.0",
  4. "_inBundle": false,
  5. "_integrity": "sha512-FHcKFCZcAha3LwfVBhCQbW2nCNbkZXn7KVUJcsT5/P8YmfsVja0FMPJr0B903j/E69HUphKiV9iQArX8SDYA4w==",
  6. "_location": "/css-line-break",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "range",
  10. "registry": true,
  11. "raw": "css-line-break@^2.1.0",
  12. "name": "css-line-break",
  13. "escapedName": "css-line-break",
  14. "rawSpec": "^2.1.0",
  15. "saveSpec": null,
  16. "fetchSpec": "^2.1.0"
  17. },
  18. "_requiredBy": [
  19. "/html2canvas"
  20. ],
  21. "_resolved": "https://registry.npmjs.org/css-line-break/-/css-line-break-2.1.0.tgz",
  22. "_shasum": "bfef660dfa6f5397ea54116bb3cb4873edbc4fa0",
  23. "_spec": "css-line-break@^2.1.0",
  24. "_where": "D:\\zhaogongxue\\banma\\node_modules\\html2canvas",
  25. "author": {
  26. "name": "Niklas von Hertzen",
  27. "email": "niklasvh@gmail.com",
  28. "url": "https://hertzen.com"
  29. },
  30. "bugs": {
  31. "url": "https://github.com/niklasvh/css-line-break/issues"
  32. },
  33. "bundleDependencies": false,
  34. "dependencies": {
  35. "utrie": "^1.0.2"
  36. },
  37. "deprecated": false,
  38. "description": "css-line-break ==============",
  39. "devDependencies": {
  40. "@rollup/plugin-commonjs": "^19.0.0",
  41. "@rollup/plugin-node-resolve": "^13.0.0",
  42. "@rollup/plugin-typescript": "^8.2.1",
  43. "@types/mocha": "^8.2.2",
  44. "@types/node": "^16.0.0",
  45. "mocha": "9.0.2",
  46. "prettier": "^2.3.2",
  47. "rimraf": "3.0.2",
  48. "rollup": "^2.52.7",
  49. "rollup-plugin-json": "^4.0.0",
  50. "rollup-plugin-sourcemaps": "^0.6.3",
  51. "standard-version": "^9.3.0",
  52. "ts-node": "^10.0.0",
  53. "tslint": "^6.1.3",
  54. "tslint-config-prettier": "^1.18.0",
  55. "typescript": "^4.3.5"
  56. },
  57. "homepage": "https://github.com/niklasvh/css-line-break#readme",
  58. "keywords": [
  59. "white-space",
  60. "line-break",
  61. "word-break",
  62. "word-wrap",
  63. "overflow-wrap"
  64. ],
  65. "license": "MIT",
  66. "main": "dist/css-line-break.umd.js",
  67. "module": "dist/css-line-break.es5.js",
  68. "name": "css-line-break",
  69. "repository": {
  70. "type": "git",
  71. "url": "git+ssh://git@github.com/niklasvh/css-line-break.git"
  72. },
  73. "scripts": {
  74. "build": "tsc --module commonjs && rollup -c rollup.config.ts",
  75. "format": "prettier --write \"{src,scripts}/**/*.ts\"",
  76. "generate-tests": "ts-node scripts/generate_line_break_tests.ts",
  77. "generate-trie": "ts-node scripts/generate_line_break_trie.ts",
  78. "lint": "tslint -c tslint.json --project tsconfig.json -t codeFrame src/**/*.ts tests/**/*.ts scripts/**/*.ts",
  79. "mocha": "mocha --require ts-node/register tests/*.ts",
  80. "prebuild": "rimraf dist/",
  81. "release": "standard-version",
  82. "test": "npm run lint && npm run mocha"
  83. },
  84. "typings": "dist/types/index.d.ts",
  85. "version": "2.1.0"
  86. }