package.json 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. {
  2. "name": "tsyringe",
  3. "version": "4.10.0",
  4. "description": "Lightweight dependency injection container for JavaScript/TypeScript",
  5. "main": "dist/cjs/index.js",
  6. "module": "./dist/esm5/index.js",
  7. "es2015": "./dist/esm2015/index.js",
  8. "typings": "./dist/typings/index.d.ts",
  9. "scripts": {
  10. "build": "yarn clean && yarn build:cjs && yarn build:es5 && yarn build:es2015 && yarn build:types",
  11. "build:cjs": "tsc",
  12. "build:es5": "tsc -p ./typescript/tsconfig.esm5.json",
  13. "build:es2015": "tsc -p ./typescript/tsconfig.esm2015.json",
  14. "build:types": "tsc -p ./typescript/tsconfig.types.json",
  15. "clean": "rimraf ./dist",
  16. "test": "yarn lint && jest --config test/jest.config.js",
  17. "test:inspect": "yarn lint && node --inspect-brk ./node_modules/jest/bin/jest.js --runInBand --config test/jest.config.js",
  18. "test:coverage": "jest --config test/jest.config.js --coverage",
  19. "lint": "eslint --ext \".js,.jsx,.ts,.tsx\" \"./src\"",
  20. "lint:fix": "eslint --fix --ext \".js,.jsx,.ts,.tsx\" \"./src\""
  21. },
  22. "repository": {
  23. "type": "git",
  24. "url": "git+https://github.com/Microsoft/tsyringe.git"
  25. },
  26. "keywords": [
  27. "dependency injection",
  28. "dependency",
  29. "injection",
  30. "ioc",
  31. "container",
  32. "javascript",
  33. "typescript"
  34. ],
  35. "engines": {
  36. "node": ">= 6.0.0"
  37. },
  38. "author": "Steven Hobson-Campbell",
  39. "license": "MIT",
  40. "bugs": {
  41. "url": "https://github.com/Microsoft/tsyringe/issues"
  42. },
  43. "homepage": "https://github.com/Microsoft/tsyringe#readme",
  44. "dependencies": {
  45. "tslib": "^1.9.3"
  46. },
  47. "devDependencies": {
  48. "@types/jest": "^24.0.21",
  49. "@types/node": "^8.10.16",
  50. "@typescript-eslint/eslint-plugin": "^2.6.0",
  51. "@typescript-eslint/parser": "^2.6.0",
  52. "eslint": "^6.6.0",
  53. "eslint-config-prettier": "^6.5.0",
  54. "eslint-plugin-prettier": "^3.1.1",
  55. "husky": "^3.0.0",
  56. "jest": "^24.7.1",
  57. "prettier": "1.18.2",
  58. "reflect-metadata": "^0.1.12",
  59. "rimraf": "^3.0.0",
  60. "ts-jest": "^24.0.2",
  61. "typescript": "^3.1.6"
  62. }
  63. }