package.json 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. {
  2. "name": "constantinople",
  3. "version": "4.0.1",
  4. "main": "lib/index.js",
  5. "types": "lib/index.d.ts",
  6. "description": "Determine whether a JavaScript expression evaluates to a constant",
  7. "keywords": [
  8. "constant",
  9. "ast",
  10. "tooling"
  11. ],
  12. "dependencies": {
  13. "@babel/parser": "^7.6.0",
  14. "@babel/types": "^7.6.1"
  15. },
  16. "devDependencies": {
  17. "@types/node": "^9.4.4",
  18. "mocha": "*",
  19. "prettier": "^1.18.2",
  20. "typescript": "^2.7.1"
  21. },
  22. "scripts": {
  23. "prepublish": "npm run build",
  24. "build": "tsc",
  25. "pretest": "npm run build && npm run prettier:check",
  26. "test": "mocha -R spec",
  27. "prettier:write": "prettier --ignore-path .gitignore --write './**/*.{md,json,yaml,js,jsx,ts,tsx}'",
  28. "prettier:check": "echo \"If prettier fails you can fix it by running npm run prettier:write\" && prettier --ignore-path .gitignore --list-different './**/*.{md,json,yaml,js,jsx,ts,tsx}'"
  29. },
  30. "repository": {
  31. "type": "git",
  32. "url": "https://github.com/ForbesLindesay/constantinople.git"
  33. },
  34. "author": "ForbesLindesay",
  35. "license": "MIT"
  36. }