package.json 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. {
  2. "_args": [
  3. [
  4. {
  5. "raw": "jsmin-sourcemap@~0.16.0",
  6. "scope": null,
  7. "escapedName": "jsmin-sourcemap",
  8. "name": "jsmin-sourcemap",
  9. "rawSpec": "~0.16.0",
  10. "spec": ">=0.16.0 <0.17.0",
  11. "type": "range"
  12. },
  13. "/mnt/Data/bach/Sites/clameurs.org/sites/all/themes/figureslibres/clameurs/node_modules/gulp-jsmin"
  14. ]
  15. ],
  16. "_from": "jsmin-sourcemap@>=0.16.0 <0.17.0",
  17. "_id": "jsmin-sourcemap@0.16.0",
  18. "_inCache": true,
  19. "_location": "/jsmin-sourcemap",
  20. "_npmUser": {
  21. "name": "twolfson",
  22. "email": "todd@twolfson.com"
  23. },
  24. "_npmVersion": "1.3.11",
  25. "_phantomChildren": {},
  26. "_requested": {
  27. "raw": "jsmin-sourcemap@~0.16.0",
  28. "scope": null,
  29. "escapedName": "jsmin-sourcemap",
  30. "name": "jsmin-sourcemap",
  31. "rawSpec": "~0.16.0",
  32. "spec": ">=0.16.0 <0.17.0",
  33. "type": "range"
  34. },
  35. "_requiredBy": [
  36. "/gulp-jsmin"
  37. ],
  38. "_resolved": "https://registry.npmjs.org/jsmin-sourcemap/-/jsmin-sourcemap-0.16.0.tgz",
  39. "_shasum": "d59e88a1b73bba670fc3b398cd9f967f4bfcccaa",
  40. "_shrinkwrap": null,
  41. "_spec": "jsmin-sourcemap@~0.16.0",
  42. "_where": "/mnt/Data/bach/Sites/clameurs.org/sites/all/themes/figureslibres/clameurs/node_modules/gulp-jsmin",
  43. "author": {
  44. "name": "Todd Wolfson",
  45. "email": "todd@twolfson.com",
  46. "url": "http://twolfson.com/"
  47. },
  48. "bugs": {
  49. "url": "https://github.com/twolfson/node-jsmin-sourcemap/issues"
  50. },
  51. "dependencies": {
  52. "jsmin2": "~1.1.1",
  53. "source-map-index-generator": "~0.1.1"
  54. },
  55. "description": "JSMin with sourcemaps!",
  56. "devDependencies": {
  57. "char-props": "~0.1.3",
  58. "grunt": "~0.3.12",
  59. "mocha": "~1.15.1",
  60. "source-map": "~0.1.8"
  61. },
  62. "directories": {},
  63. "dist": {
  64. "shasum": "d59e88a1b73bba670fc3b398cd9f967f4bfcccaa",
  65. "tarball": "https://registry.npmjs.org/jsmin-sourcemap/-/jsmin-sourcemap-0.16.0.tgz"
  66. },
  67. "homepage": "https://github.com/twolfson/node-jsmin-sourcemap",
  68. "keywords": [
  69. "jsmin",
  70. "sourcemap",
  71. "source map",
  72. "minify"
  73. ],
  74. "licenses": [
  75. {
  76. "type": "UNLICENSE",
  77. "url": "https://github.com/twolfson/node-jsmin-sourcemap/blob/master/UNLICENSE"
  78. }
  79. ],
  80. "main": "lib/jsmin.sourcemap.js",
  81. "maintainers": [
  82. {
  83. "name": "twolfson",
  84. "email": "todd@twolfson.com"
  85. }
  86. ],
  87. "name": "jsmin-sourcemap",
  88. "optionalDependencies": {},
  89. "readme": "# node-jsmin-sourcemap [![Build status](https://travis-ci.org/Ensighten/grunt-spritesmith.png?branch=master)](https://travis-ci.org/Ensighten/grunt-spritesmith)\n\nJSMin with sourcemaps!\n\nAlso available as a [grunt plugin](https://github.com/twolfson/grunt-jsmin-sourcemap)!\n\n## Synopsis\n[JSMin](http://www.crockford.com/javascript/jsmin.html) is a JavaScript minifier that removes whitespace and comments.\n\n[Source maps](http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/) enables developers to view and interact with minified JavaScript as if it were unminified (providing useful line errors and easier debugging).\n\nWhen you combine both of these, you get a node module that is your new best debugging friend.\n\n## Getting Started\nInstall the module with: `npm install jsmin-sourcemap`\n\n## Demos\nThe folders in `demo` are hosted on Plunker for your testing and enjoyment.\n\n- Basic [http://embed.plnkr.co/mGHUpe](http://embed.plnkr.co/mGHUpe)\n- jQuery [http://embed.plnkr.co/JyNn5e](http://embed.plnkr.co/JyNn5e)\n- Multi [http://embed.plnkr.co/FPkQx6](http://embed.plnkr.co/FPkQx6)\n\n## Documentation\nJSMin is a standalone function which takes the following format of paramters\n```js\n/**\n * JSMin + source-map\n * @param {Object} params Parameters to minify and generate sourcemap with\n * @param {String} [params.dest=\"undefined.js\"] Destination for your JavaScript (used inside of sourcemap map)\n * @param {String} [params.srcRoot] Optional root for all relative URLs\n *\n * SINGLE FILE FORMAT\n * @param {String} params.src File path to original JavaScript (seen when an error is thrown)\n * @param {String} params.code JavaScript to minify\n *\n * MULTI FILE FORMAT\n * @param {Object[]} params.input Array of objects) to minify\n * @param {String} params.input[n].src File path to original JavaScript (seen when an error is thrown)\n * @param {String} params.input[n].code JavaScript to minify\n *\n * @return {Object} retObj\n * @return {String} retObj.code Minified JavaScript\n * @return {Object} retObj.sourcemap Sourcemap of input to minified JavaScript\n */\n```\n\n## Examples\n### Single file\n```js\n// Load in jsmin and jQuery\nvar jsmin = require('node-jsmin-sourcemap'),\n jquerySrc = fs.readFileSync('jquery.js', 'utf8');\n\n// Process the jquery source via jsmin\nvar jqueryMinObj = jsmin({'code':jQuerySrc,'src':'jquery.js','dest':'jquery.min.js'});\n\n// Minified code is available at\n// jqueryMinObj.code;\n\n// Sourcemap is available at\n// jqueryMinObj.sourcemap;\n```\n\n### Multiple files\n```js\n// Load in jsmin, jQuery, and underscore\nvar jsmin = require('node-jsmin-sourcemap'),\n jquerySrc = fs.readFileSync('jquery.js', 'utf8'),\n underscoreSrc = fs.readFileSync('underscore.js', 'utf8');\n\n// Process the jquery amd underscore source via jsmin\nvar indexMinObj = jsmin({\n 'input': [{\n 'code': jQuerySrc,\n 'src': 'jquery.js'\n }, {\n 'code': underscoreSrc,\n 'src': 'underscore.js'\n }],\n 'dest':'index.min.js'\n });\n\n// Minified code is availabe at\n// indexMinObj.code;\n\n// Sourcemap is availabe at\n// indexMinObj.sourcemap;\n```\n\n## Contributing\nIn lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint via [grunt](https://github.com/gruntjs/grunt) and test via `npm test`.\n\n## Donating\nSupport this project and [others by twolfson][gittip] via [gittip][].\n\n[![Support via Gittip][gittip-badge]][gittip]\n\n[gittip-badge]: https://rawgithub.com/twolfson/gittip-badge/master/dist/gittip.png\n[gittip]: https://www.gittip.com/twolfson/\n\n## Unlicense\nAs of Dec 04 2013, Todd Wolfson has released this repository and its contents to the public domain.\n\nIt has been released under the [UNLICENSE][].\n\n[UNLICENSE]: UNLICENSE\n\nPrevious to this, it was licensed under the [MIT license][].\n\n[MIT license]: https://github.com/twolfson/node-jsmin-sourcemap/blob/3c92dddc788658351b87c608c5da770272f178c0/README.md#license",
  90. "readmeFilename": "README.md",
  91. "repository": {
  92. "type": "git",
  93. "url": "git://github.com/twolfson/node-jsmin-sourcemap.git"
  94. },
  95. "scripts": {
  96. "test": "mocha tests"
  97. },
  98. "version": "0.16.0"
  99. }