{"_id":"grunt-netsuite","_rev":"48-0b9d04b6b73a716b5003c95dd769c990","time":{"0.0.0":"2019-06-12T14:04:42.259Z","0.0.1":"2019-06-12T14:04:42.259Z","0.0.10":"2019-06-12T14:04:42.259Z","0.0.11":"2019-06-12T14:04:42.259Z","0.0.12":"2019-06-12T14:04:42.259Z","0.0.13":"2019-06-12T14:04:42.259Z","0.0.14":"2019-06-12T14:04:42.259Z","0.0.15":"2019-06-12T14:04:42.259Z","0.0.16":"2019-06-12T14:04:42.259Z","0.0.17":"2019-06-12T14:04:42.259Z","0.0.18":"2019-06-12T14:04:42.259Z","0.0.19":"2019-06-12T14:04:42.259Z","0.0.2":"2019-06-12T14:04:42.259Z","0.0.20":"2019-06-12T14:04:42.259Z","0.0.21":"2019-06-12T14:04:42.259Z","0.0.22":"2019-06-12T14:04:42.259Z","0.0.23":"2019-06-12T14:04:42.259Z","0.0.24":"2019-06-12T14:04:42.259Z","0.0.25":"2019-06-12T14:04:42.259Z","0.0.26":"2019-06-12T14:04:42.259Z","0.0.27":"2019-06-12T14:04:42.259Z","0.0.3":"2019-06-12T14:04:42.259Z","0.0.4":"2019-06-12T14:04:42.259Z","0.0.5":"2019-06-12T14:04:42.259Z","0.0.6":"2019-06-12T14:04:42.259Z","0.0.7":"2019-06-12T14:04:42.259Z","0.0.8":"2019-06-12T14:04:42.259Z","0.0.9":"2019-06-12T14:04:42.259Z","created":"2020-03-06T19:28:54.230Z","0.1.0":"2020-03-06T19:28:54.498Z","modified":"2022-05-04T07:07:33.729Z","0.1.1":"2020-03-09T20:56:58.532Z","0.1.2":"2020-05-08T22:31:47.540Z"},"name":"grunt-netsuite","dist-tags":{"latest":"0.1.2"},"versions":{"0.1.0":{"name":"grunt-netsuite","description":"Upload project files to Netsuite File Cabinet","version":"0.1.0","homepage":"https://github.com/BKnights/grunt-netsuite","author":{"name":"Brett Knights","email":"brett@knightsofthenet.com"},"repository":{"type":"git","url":"git://github.com/BKnights/grunt-netsuite.git"},"bugs":{"url":"https://github.com/BKnights/grunt-netsuite/issues"},"licenses":[{"type":"MIT","url":"https://github.com/BKnights/grunt-netsuite/blob/master/LICENSE-MIT"}],"engines":{"node":">=10.0.0"},"scripts":{"test":"grunt test"},"peerDependencies":{"grunt-contrib-watch":">=1.0.0","grunt":"^1.0.4"},"devDependencies":{"eslint-config-esnext":"^4.0.0","grunt":"^1.0.4","grunt-contrib-clean":"^0.5.0","grunt-contrib-jshint":"^2.1.0","grunt-contrib-nodeunit":"^0.3.3","grunt-contrib-watch":">=1.0.0"},"keywords":["gruntplugin"],"dependencies":{"debug":"^4.1.1","isbinaryfile":"^4.0.4","mime-types":"^2.1.26","needle":"^2.3.3","oauth-1.0a":"^2.2.6"},"gitHead":"f9f04df8ab38d4476064a19c382ea2252467475a","_id":"grunt-netsuite@0.1.0","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-LbSNGV+h0l+Sc8TkfXS0w4rgQZjTwlh94QEvyQhmlxAaodcCYfRcpP4PBIrPql9XlQma2fKd+dkNCu4LuoNv9A==","shasum":"b97de0d84d4fe45c4f237fdf4ee4ca79f255ca4c","tarball":"https://registry.npmjs.org/grunt-netsuite/-/grunt-netsuite-0.1.0.tgz","fileCount":19,"unpackedSize":21636,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeYqR2CRA9TVsSAnZWagAAVgMQAKBWKkxXunixmBbaLUqN\nwQ5LQ2YqXTdP0qeSl48e/sGUgehn3USwTEZ/Lhx9bAbXjkGarwhVgEDpnhXn\nt+7P0OXLtelDwVRE5rt6mg1eNH31Yczv6iOSWpfoMTV0k8PYWpWv2VkzO0Cy\npOSHWGn3aik3T2wL3haXRat8GwCMFPswBnw8VXtFyOBzIf5zsNR4MpUSx8P2\nFJ9/OGAfGHo/7L5lLVXQHo0DB7Ve4ytHKvFHNVsHy+F7YuUG3oVH9ZToabDe\njalvApg3oOM2ukZHUdaual+Hb2v6depBrgIuQzlA0NVWMLMQHzyCpXD2RbrZ\nt25kxQ1Cgv18w8k3MRozSfR+B7P4jmAUZLAccgdgZbrzezFbJ05eYxCMeIfm\nHyOwuUzFHexc0NM94Eqs2R1qGdI7RwqhdWtYX/Sx20+PF7itrWH1ATqC7U8U\ndjvV8bD7WeZ9mWZh/wPqYNGsD3RSHEBR+/iAtEYklI4wpiPpY/3c1y/gX+yj\ntkzuHFQfLLJMRBe0StouEHy2VwfkIFRz31LAqTmM/HOdpb833TZrHjzrs8kN\nAu7K7pyqCM5drurhqUOjwESSKXsZqJ8N00yUby+peM/JYTc+4HjJi+Mr6DOZ\nl1/YzF9wt/r1q4P8KHxY+g3RbCUbfI9XC0fqfYm4CdzDJpFJtjAGxS4BRbpn\nvcY5\r\n=3DmJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD9/yG0UugZR6cFjAp9KRw1TAeHXPl49cPsyeoTXhlRZQIhAKxzrOZG3UazljhMQMDL/4QiZ1ggKNbL1Fg8lCr+lbDU"}]},"maintainers":[{"name":"bknights","email":"brett@knightsofthenet.com"}],"_npmUser":{"name":"bknights","email":"brett@knightsofthenet.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/grunt-netsuite_0.1.0_1583522934230_0.31593832560234403"},"_hasShrinkwrap":false},"0.1.1":{"name":"grunt-netsuite","description":"Upload project files to Netsuite File Cabinet","version":"0.1.1","homepage":"https://github.com/BKnights/grunt-netsuite","author":{"name":"Brett Knights","email":"brett@knightsofthenet.com"},"repository":{"type":"git","url":"git://github.com/BKnights/grunt-netsuite.git"},"bugs":{"url":"https://github.com/BKnights/grunt-netsuite/issues"},"licenses":[{"type":"MIT","url":"https://github.com/BKnights/grunt-netsuite/blob/master/LICENSE-MIT"}],"engines":{"node":">=10.0.0"},"scripts":{"test":"grunt test"},"peerDependencies":{"grunt-contrib-watch":">=1.0.0","grunt":"^1.0.4"},"devDependencies":{"eslint-config-esnext":"^4.0.0","grunt":"^1.0.4","grunt-contrib-clean":"^0.5.0","grunt-contrib-jshint":"^2.1.0","grunt-contrib-nodeunit":"^0.3.3","grunt-contrib-watch":">=1.0.0"},"keywords":["gruntplugin"],"dependencies":{"debug":"^4.1.1","isbinaryfile":"^4.0.4","mime-types":"^2.1.26","needle":"^2.3.3","oauth-1.0a":"^2.2.6"},"gitHead":"f44fa50dc27a5fc4d2207faee3f0549de405f975","_id":"grunt-netsuite@0.1.1","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-Y+XFBvurwakdZZ9nmcBJkhF6K0uMvLhziavplfJ6Yg8DgXvyOHVbmCwwyhOHIwDPS5UcSRd/ZR2AM3lndVBSrw==","shasum":"87101eaf12b5492ba2c66852b7562abd4c29983a","tarball":"https://registry.npmjs.org/grunt-netsuite/-/grunt-netsuite-0.1.1.tgz","fileCount":20,"unpackedSize":33874,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeZq2aCRA9TVsSAnZWagAAOp4P/j90sh7QHqvirCpGFCqn\n+wvoM/fPTTdP+Ns6xoA7c+g5vRh1k28nGRIBu8mjJ41ksP3ek2RbAErOmE7y\nMMKBIXGyVLTZp58Wgg7Aj8rkWJWTlTeHA5MbAV3SBZjoOnZOyPM4gTYbcuZS\nXgpHeiCVuvpC5dzWcMIrxkazXFyd27j+ngEIcEE5yDa/5hDJi+hBOflobReQ\nk6Q/hbmMGTVKsv5+mc/7qtIu9H3QsSebuH3C3Ov+Nll4ytelKmaBMNkuvr3D\n103j2FoV2fnrJzOX2rIYs9pcSEiwcWJVsPSp6qx+o+U9Nt3LTe2z9BsJzP7x\neB1+E2j0FPiyg+OFutv5NKyyGFWpmCMbddZAzM1J/iTqs0ARFpW3Gz7O/tjb\nqZy8HmRvFAH+DeUAzisaYG4daxTDgmAJrrGxOSg3E4b0ShRy0ODrHlqq7hi4\nrVh24rWExc49X8NqaGQfYbjzQqo+W0iBKpLGRjMCv0aB2hphC9NAdAP1Q8Df\ngzT1acSFNdQBigVbvTuBDv2srydwMCxhwHYK9bkMaUcu2PWu0bi0aVFCFgCf\nl6Yojy2OdpHN881LY06DJfY3CCFdQdknoOU/uxBGZl7Ed6qMMWspTnirzPoN\n0aXCTgkMlNe+z7VHcb1/Ztnu3y6/3toSMuOtwUQnMqQeqXjCWkZRvsdbF9I6\nUfKQ\r\n=YN1F\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICnddyHrnSjzDCGalvBvNN5yILgjNFdTtI9o8xiiZl9tAiEAnsXuWHrmeksWZgXgLE68zTsebcSKJ5bcP/+J/WZ2Ppw="}]},"maintainers":[{"name":"bknights","email":"brett@knightsofthenet.com"}],"_npmUser":{"name":"bknights","email":"brett@knightsofthenet.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/grunt-netsuite_0.1.1_1583787418409_0.9843469822992599"},"_hasShrinkwrap":false},"0.1.2":{"name":"grunt-netsuite","description":"Upload project files to Netsuite File Cabinet","version":"0.1.2","homepage":"https://github.com/BKnights/grunt-netsuite","author":{"name":"Brett Knights","email":"brett@knightsofthenet.com"},"repository":{"type":"git","url":"git://github.com/BKnights/grunt-netsuite.git"},"bugs":{"url":"https://github.com/BKnights/grunt-netsuite/issues"},"licenses":[{"type":"MIT","url":"https://github.com/BKnights/grunt-netsuite/blob/master/LICENSE-MIT"}],"engines":{"node":">=10.0.0"},"scripts":{"test":"grunt test"},"peerDependencies":{"grunt-contrib-watch":">=1.0.0","grunt":"^1.0.4"},"devDependencies":{"eslint-config-esnext":"^4.0.0","grunt":"^1.0.4","grunt-contrib-clean":"^0.5.0","grunt-contrib-jshint":"^2.1.0","grunt-contrib-nodeunit":"^0.3.3","grunt-contrib-watch":">=1.0.0"},"keywords":["gruntplugin"],"dependencies":{"debug":"^4.1.1","isbinaryfile":"^4.0.4","mime-types":"^2.1.26","needle":"^2.3.3","oauth-1.0a":"^2.2.6"},"gitHead":"16d8c0ef9a8e0fbcdca8071c73b193138352244d","_id":"grunt-netsuite@0.1.2","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-z2oO5N0WWP3rfnl7uex1hoKABqPHyXg/RSINNDPeXJTZKSL5czbLH6ockcxQAgAutVTdk/DxlvXMHX0HIhwIxw==","shasum":"d407a42465e7733f15970dfc52290a9eb3d69d88","tarball":"https://registry.npmjs.org/grunt-netsuite/-/grunt-netsuite-0.1.2.tgz","fileCount":20,"unpackedSize":34159,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJetd3UCRA9TVsSAnZWagAAZSgQAJYLRzEp0zMgW0Q71gsR\nlRaXnv3SlprlbNt+pQWo/hu3jdMg6aJmBrRw0HDCMd+XuspRjd/jE1MOZLwt\nvXJU3mc5WF/MCF3sQMyptM+nFw3EOYObVT2oQaEWdkEfa1VTrkvMrFDJ/S58\nPJxHobMAf1SHkU8rDax8d4mVHYocJc43/RnE53uBF80Ic2/GzEeLPfvhA+NL\nZraCgfE/NQrClA7r2N7pZXvQFMt5lHLKQvvE9i5e5QwiPduqijQq00qRkgEv\nQGePso9RCFmegJp+TqeQfeIWX5mcaXKlo9KPvmQBsf0Iflc2rl257R9nTGfA\n0ewt4CepeD3PeXzgMnp6kSkamuyKGubs4hoRClYQa2FGO8z/r39yAAJhghYF\nJZlC3haf6MEZSLSUrPEg464cAk2uMJmbPBFIhMXQAPZLBBSkDmQo9xzVX0fB\nBuZTbF1KDAPu9VtyvWEJ8o27TY79IpDrhbiOAHG4UYAq8ChNhDQsrLM9GWSl\nzv43Ngk5oRtJ/MeQ3E4FRLLXuGuztU360M5nZM9zEL2YIyNwmrJc2d64ZZwE\njNoVymS8/3DyPaG2wsrj4UWUEWKHUjV/NcLwGZW8PdPzfleSuW8trUoYEJAf\nf0Dxk1KHl2dXTCj9JLadP04GmfMRm6/i30e5Ez9DH+HoEVulZK6iquloprml\nsPRP\r\n=4iXA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDDIsOA2ZuUg5xzK2Je2H+oiFhaGPZEFqD0K+6ulC8x6gIhAKDyyw8CTjUoxGQBV76ndi7VQrAvc6AH/jiinrYnvyKq"}]},"maintainers":[{"name":"bknights","email":"brett@knightsofthenet.com"}],"_npmUser":{"name":"bknights","email":"brett@knightsofthenet.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/grunt-netsuite_0.1.2_1588977107339_0.9314646228858328"},"_hasShrinkwrap":false}},"maintainers":[{"name":"bknights","email":"brett@knightsofthenet.com"}],"description":"Upload project files to Netsuite File Cabinet","homepage":"https://github.com/BKnights/grunt-netsuite","keywords":["gruntplugin"],"repository":{"type":"git","url":"git://github.com/BKnights/grunt-netsuite.git"},"author":{"name":"Brett Knights","email":"brett@knightsofthenet.com"},"bugs":{"url":"https://github.com/BKnights/grunt-netsuite/issues"},"readme":"# grunt-netsuite\r\n\r\n> Upload project files to Netsuite File Cabinet\r\n\r\n## Getting Started\r\nThis plugin requires Grunt `~1.0.4`\r\n\r\nIf you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:\r\n\r\n```shell\r\nnpm install grunt-netsuite --save-dev\r\n```\r\n\r\nOnce the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:\r\n\r\n```js\r\ngrunt.loadNpmTasks('grunt-netsuite');\r\n\r\n```\r\n\r\nThe netsuite task requires options. The samples below have the secure options in a file ns_config.json. This file should not be committed to version control or be allowed to escape to the public.\r\n\r\n```json\r\n{\r\n\r\n\t\"NS_CONSUMER_KEY\" :    \"from your integrations setup\",\r\n\t\"NS_CONSUMER_SECRET\" : \"from your integrations setup\",\r\n\t\"NS_TOKEN_ID\" :        \"from your token setup\",\r\n\t\"NS_TOKEN_SECRET\" :    \"from your token setup\",\r\n\t\"NS_ACCOUNT_ID\" :\"YOUR ACCOUNT ID. IN UPPERCASE IF IT HAS LETTERS\",\r\n\t\"NS_UPLOAD_PATH\" : \"https://account_id.restlets.api.netsuite.com... from the setup of the companion restlet\"\r\n}\r\n```\r\n\r\n## Companion Bundle\r\nThis package works with a RESTlet that handles navigating the Netsuite file cabinet. Bundle 322271 is a public bundle that has the RESTLet and a role with just enough permissions for the uploads. The bundle's code is available at https://github.com/BKnights/grunt-netsuite-restlet\r\n\r\n## Access\r\nIn order to use the RESTlet you'll need to create access. See the Netsuite help for creating an integration and token based access.\r\n\r\nWhen the integration is created Netsuite will present integration id and secret tokens. These should be copied and pasted to the ns_config.json file.\r\n\r\nWhen the access tokens are created they too should be copied and pasted to the ns_config.json file.\r\n\r\nWhen you have deployed the RESTlet (either via the bundle installation or by downloading and installing this code) copy its external URL to ns_config.json as well.\r\n\r\n## The \"netsuite\" task\r\n\r\n### Overview\r\nIn your project's Gruntfile, add a section named `netsuite` to the data object passed into `grunt.initConfig()`. Note the two ways to specify the root of the Netsuite destination. The 4085 is the internal id of a folder under  Live Hosting Files.\r\n\r\n```js\r\nvar ns_config = require('./ns_config.json');\r\n\r\ngrunt.initConfig({\r\n  netsuite: {\r\n    options:Object.assign({\r\n        rate_limit_delay:300,\r\n        overwriteFiles:true,\r\n        isPublic:true\r\n      }, ns_config),\r\n    web: {\r\n      // Target-specific file lists and/or options go here.\r\n      files: [\r\n          {cwd:'path to file/not part of Netsuite path/', src:['**/*', '!*.bak'], filter:'isFile', dest:4085}\r\n         ]\r\n    },\r\n    ssp: {\r\n      files: [\r\n        {cwd: 'project/path to/SSP/', src:['**/*', '!**/*.bak'], filter:'isFile', dest:'Web Site Hosting Files/Live Hosting Files/SSP Applications/KOTN/Simple'}\r\n      ]\r\n    }\r\n  },\r\n});\r\n```\r\n\r\n### Watching files\r\nIf you want to watch files and upload them automatically then:\r\n```shell\r\nnpm install grunt-contrib-watch --save-dev\r\n```\r\n\r\nEnable it inside your Gruntfile with this line of JavaScript:\r\n\r\n```js\r\ngrunt.loadNpmTasks('grunt-contrib-watch');\r\n\r\n```\r\n\r\n```js\r\nvar ns_config = require('./ns_config.json');\r\n\r\ngrunt.initConfig({\r\n  netsuite: {\r\n    ...\r\n  },\r\n\r\n  watch:{\r\n    options:{\r\n      spawn:false\r\n    },\r\n    web:{\r\n      files:  ['path to file/not part of Netsuite path/**/*'],\r\n      tasks:['netsuite:web']\r\n    },\r\n    ssp:{\r\n      files:  ['project/path to/SSP/**/*'],\r\n      tasks:['netsuite:ssp']\r\n    }\r\n\r\n  }\r\n}\r\n```\r\n","readmeFilename":"README.md"}