package.json 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. {
  2. "name": "has-symbol-support-x",
  3. "version": "1.4.2",
  4. "description": "Tests if ES6 Symbol is supported.",
  5. "homepage": "https://github.com/Xotic750/has-symbol-support-x",
  6. "author": {
  7. "name": "Graham Fairweather",
  8. "email": "xotic750@gmail.com"
  9. },
  10. "copyright": "Copyright (c) 2015-present",
  11. "keywords": [
  12. "ES6",
  13. "hasSymbolSupport",
  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-symbol-support-x.git"
  27. },
  28. "bugs": {
  29. "url": "https://github.com/Xotic750/has-symbol-support-x/issues"
  30. },
  31. "dependencies": {},
  32. "devDependencies": {
  33. "@xotic750/eslint-config-standard-x": "^3.1.1",
  34. "ajv": "^6.1.1",
  35. "browserify": "^16.1.0",
  36. "browserify-derequire": "^0.9.4",
  37. "cross-env": "^5.1.3",
  38. "es5-shim": "^4.5.10",
  39. "es6-shim": "^0.35.3",
  40. "es7-shim": "^6.0.0",
  41. "eslint": "^4.18.1",
  42. "eslint-plugin-compat": "^2.2.0",
  43. "eslint-plugin-css-modules": "^2.7.5",
  44. "eslint-plugin-eslint-comments": "^2.0.2",
  45. "eslint-plugin-jsdoc": "^3.5.0",
  46. "eslint-plugin-json": "^1.2.0",
  47. "eslint-plugin-no-use-extend-native": "^0.3.12",
  48. "husky": "^0.13.4",
  49. "jasmine-node": "^1.14.5",
  50. "jsdoc-to-markdown": "^4.0.1",
  51. "json3": "^3.3.2",
  52. "make-jasmine-spec-runner-html": "^1.3.0",
  53. "ncp": "^2.0.0",
  54. "nodemon": "^1.15.1",
  55. "nsp": "^3.2.1",
  56. "parallelshell": "^3.0.2",
  57. "replace-x": "^1.5.0",
  58. "rimraf": "^2.6.2",
  59. "serve": "^6.4.11",
  60. "uglify-js": "^3.3.12"
  61. },
  62. "scripts": {
  63. "clean": "rimraf README.md lib/*",
  64. "clean:jasmine": "rimraf tests/index.html tests/run.js",
  65. "clean:all": "npm run clean:jasmine && npm run clean",
  66. "build": "npm run clean && npm run lint && npm run browserify && npm run uglify && npm run docs && npm test && npm run security",
  67. "build:jasmine": "npm run clean:jasmine && make-jasmine-spec-runner-html",
  68. "build:setver": "replace-x \" @version .*\" \" @version $(node -p -e \"require('./package.json').version\")\" index.js",
  69. "build:name": "replace-x \" @module .*\" \" @module $(node -p -e \"require('./package.json').name\")\" index.js",
  70. "build:description": "replace-x \" @file .*\" \" @file $(node -p -e \"require('./package.json').description\")\" index.js",
  71. "build:replace": "npm run build:setver && npm run build:name && npm run build:description",
  72. "production": "npm run clean:all && npm run build:jasmine && npm run build:replace && npm run build",
  73. "start": "parallelshell \"serve\" \"nodemon --watch index.js --exec 'npm run build'\"",
  74. "docs:name": "replace-x \"@{PACKAGE-NAME}\" \"$(node -p -e \"require('./package.json').name\")\" README.md",
  75. "docs:badges": "ncp badges.html README.md && npm run docs:name",
  76. "docs": "npm run docs:badges && jsdoc2md --name-format --example-lang js index.js >> README.md",
  77. "lint": "eslint *.js tests/spec/*.js",
  78. "lint-fix": "npm run lint -- --fix",
  79. "security": "nsp check",
  80. "test": "jasmine-node --matchall tests/spec/",
  81. "browserify": "browserify -p browserify-derequire -e index.js -o lib/has-symbol-support-x.js -u 'crypto' -s returnExports",
  82. "uglify": "uglifyjs lib/has-symbol-support-x.js -o lib/has-symbol-support-x.min.js --config-file .uglifyjsrc.json",
  83. "precommit": "npm run production",
  84. "prepush": "npm run production"
  85. }
  86. }