package.json 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. {
  2. "name": "css-line-break",
  3. "version": "2.1.0",
  4. "description": "",
  5. "main": "dist/css-line-break.umd.js",
  6. "module": "dist/css-line-break.es5.js",
  7. "typings": "dist/types/index.d.ts",
  8. "scripts": {
  9. "prebuild": "rimraf dist/",
  10. "build": "tsc --module commonjs && rollup -c rollup.config.ts",
  11. "format": "prettier --write \"{src,scripts}/**/*.ts\"",
  12. "lint": "tslint -c tslint.json --project tsconfig.json -t codeFrame src/**/*.ts tests/**/*.ts scripts/**/*.ts",
  13. "generate-trie": "ts-node scripts/generate_line_break_trie.ts",
  14. "generate-tests": "ts-node scripts/generate_line_break_tests.ts",
  15. "mocha": "mocha --require ts-node/register tests/*.ts",
  16. "test": "npm run lint && npm run mocha",
  17. "release": "standard-version"
  18. },
  19. "repository": {
  20. "type": "git",
  21. "url": "git+ssh://git@github.com/niklasvh/css-line-break.git"
  22. },
  23. "keywords": [
  24. "white-space",
  25. "line-break",
  26. "word-break",
  27. "word-wrap",
  28. "overflow-wrap"
  29. ],
  30. "dependencies": {
  31. "utrie": "^1.0.2"
  32. },
  33. "devDependencies": {
  34. "@rollup/plugin-commonjs": "^19.0.0",
  35. "@rollup/plugin-node-resolve": "^13.0.0",
  36. "@rollup/plugin-typescript": "^8.2.1",
  37. "@types/mocha": "^8.2.2",
  38. "@types/node": "^16.0.0",
  39. "mocha": "9.0.2",
  40. "prettier": "^2.3.2",
  41. "rimraf": "3.0.2",
  42. "rollup": "^2.52.7",
  43. "rollup-plugin-json": "^4.0.0",
  44. "rollup-plugin-sourcemaps": "^0.6.3",
  45. "standard-version": "^9.3.0",
  46. "ts-node": "^10.0.0",
  47. "tslint": "^6.1.3",
  48. "tslint-config-prettier": "^1.18.0",
  49. "typescript": "^4.3.5"
  50. },
  51. "author": {
  52. "name": "Niklas von Hertzen",
  53. "email": "niklasvh@gmail.com",
  54. "url": "https://hertzen.com"
  55. },
  56. "license": "MIT",
  57. "bugs": {
  58. "url": "https://github.com/niklasvh/css-line-break/issues"
  59. },
  60. "homepage": "https://github.com/niklasvh/css-line-break#readme"
  61. }