package.json 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. {
  2. "name": "has-to-string-tag-x",
  3. "version": "1.4.1",
  4. "description": "Tests if ES6 @@toStringTag is supported.",
  5. "homepage": "https://github.com/Xotic750/has-to-string-tag-x",
  6. "author": {
  7. "name": "Graham Fairweather",
  8. "email": "xotic750@gmail.com"
  9. },
  10. "copyright": "Copyright (c) 2015-2017",
  11. "keywords": [
  12. "ES6",
  13. "hasToStringTag",
  14. "module",
  15. "javascript",
  16. "nodejs",
  17. "browser"
  18. ],
  19. "main": "index.js",
  20. "engines": {
  21. "node": "*"
  22. },
  23. "license": "MIT",
  24. "repository": {
  25. "type": "git",
  26. "url": "https://github.com/Xotic750/has-to-string-tag-x.git"
  27. },
  28. "bugs": {
  29. "url": "https://github.com/Xotic750/has-to-string-tag-x/issues"
  30. },
  31. "dependencies": {
  32. "has-symbol-support-x": "^1.4.1"
  33. },
  34. "devDependencies": {
  35. "@xotic750/eslint-config-standard-x": "^2.2.1",
  36. "browserify": "^14.4.0",
  37. "browserify-derequire": "^0.9.4",
  38. "cross-env": "^5.0.1",
  39. "es5-shim": "^4.5.9",
  40. "es6-shim": "^0.35.3",
  41. "es7-shim": "^6.0.0",
  42. "eslint": "^4.2.0",
  43. "eslint-plugin-compat": "^1.0.4",
  44. "eslint-plugin-css-modules": "^2.7.2",
  45. "eslint-plugin-eslint-comments": "^1.0.2",
  46. "eslint-plugin-jsdoc": "^3.1.1",
  47. "eslint-plugin-json": "^1.2.0",
  48. "eslint-plugin-no-use-extend-native": "^0.3.12",
  49. "husky": "^0.13.4",
  50. "jasmine-node": "^1.14.5",
  51. "jsdoc-to-markdown": "^3.0.0",
  52. "json3": "^3.3.2",
  53. "make-jasmine-spec-runner-html": "^1.3.0",
  54. "ncp": "^2.0.0",
  55. "nodemon": "^1.11.0",
  56. "nsp": "^2.6.3",
  57. "parallelshell": "^3.0.1",
  58. "replace-x": "^1.5.0",
  59. "rimraf": "^2.6.1",
  60. "serve": "^6.0.2",
  61. "uglify-js": "^3.0.24"
  62. },
  63. "scripts": {
  64. "clean": "rimraf README.md lib/*",
  65. "clean:jasmine": "rimraf tests/index.html tests/run.js",
  66. "clean:all": "npm run clean:jasmine && npm run clean",
  67. "build": "npm run clean && npm run lint && npm run browserify && npm run uglify && npm run docs && npm test && npm run security",
  68. "build:jasmine": "npm run clean:jasmine && make-jasmine-spec-runner-html",
  69. "build:setver": "replace-x \" @version .*\" \" @version $(node -p -e \"require('./package.json').version\")\" index.js",
  70. "build:name": "replace-x \" @module .*\" \" @module $(node -p -e \"require('./package.json').name\")\" index.js",
  71. "build:description": "replace-x \" @file .*\" \" @file $(node -p -e \"require('./package.json').description\")\" index.js",
  72. "build:replace": "npm run build:setver && npm run build:name && npm run build:description",
  73. "production": "npm run clean:all && npm run build:jasmine && npm run build:replace && npm run build",
  74. "start": "parallelshell \"serve\" \"nodemon --watch index.js --exec 'npm run build'\"",
  75. "docs:name": "replace-x \"@{PACKAGE-NAME}\" \"$(node -p -e \"require('./package.json').name\")\" README.md",
  76. "docs:badges": "ncp badges.html README.md && npm run docs:name",
  77. "docs": "npm run docs:badges && jsdoc2md --name-format --example-lang js index.js >> README.md",
  78. "lint": "eslint *.js tests/spec/*.js",
  79. "lint-fix": "npm run lint -- --fix",
  80. "security": "nsp check",
  81. "test": "jasmine-node --matchall tests/spec/",
  82. "browserify": "browserify -p browserify-derequire -e index.js -o lib/has-to-string-tag-x.js -u 'crypto' -s returnExports",
  83. "uglify": "uglifyjs lib/has-to-string-tag-x.js -o lib/has-to-string-tag-x.min.js --config-file .uglifyjsrc.json",
  84. "precommit": "npm run production",
  85. "prepush": "npm run production"
  86. }
  87. }