{"action":"created","issue":{"url":"https://api.github.com/repos/lodash/lodash/issues/1363","labels_url":"https://api.github.com/repos/lodash/lodash/issues/1363/labels{/name}","comments_url":"https://api.github.com/repos/lodash/lodash/issues/1363/comments","events_url":"https://api.github.com/repos/lodash/lodash/issues/1363/events","html_url":"https://github.com/lodash/lodash/issues/1363","id":96839379,"number":1363,"title":"Support for npm test in package.json","user":{"login":"jasnell","id":439929,"avatar_url":"https://avatars.githubusercontent.com/u/439929?v=3","gravatar_id":"","url":"https://api.github.com/users/jasnell","html_url":"https://github.com/jasnell","followers_url":"https://api.github.com/users/jasnell/followers","following_url":"https://api.github.com/users/jasnell/following{/other_user}","gists_url":"https://api.github.com/users/jasnell/gists{/gist_id}","starred_url":"https://api.github.com/users/jasnell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasnell/subscriptions","organizations_url":"https://api.github.com/users/jasnell/orgs","repos_url":"https://api.github.com/users/jasnell/repos","events_url":"https://api.github.com/users/jasnell/events{/privacy}","received_events_url":"https://api.github.com/users/jasnell/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/lodash/lodash/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/lodash/lodash/labels/wontfix","name":"wontfix","color":"ffffff"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-07-23T15:25:01Z","updated_at":"2015-07-23T21:24:06Z","closed_at":"2015-07-23T18:42:23Z","body":"I'm currently working on an automated test system (https://github.com/jasnell/citgm) that will eventually be integrated with the Node.js CI to perform a kind of smoke-test on Node builds. The test system will check a selection of the most popular modules on npm. The current design automates the steps of performing an `npm install` followed by an `npm test`. Unfortunately, lodash doesn't currently support `npm test`, which forces us to include lodash in our group of \"special cases\".\r\n\r\nIt would be great if you could add the following line into your lodash's package.json:\r\n\r\n```\r\n  \"scripts\": {\r\n    \"test\": \"node test/test.js\"\r\n  }\r\n```"},"comment":{"url":"https://api.github.com/repos/lodash/lodash/issues/comments/124244083","html_url":"https://github.com/lodash/lodash/issues/1363#issuecomment-124244083","issue_url":"https://api.github.com/repos/lodash/lodash/issues/1363","id":124244083,"user":{"login":"Fishrock123","id":1093990,"avatar_url":"https://avatars.githubusercontent.com/u/1093990?v=3","gravatar_id":"","url":"https://api.github.com/users/Fishrock123","html_url":"https://github.com/Fishrock123","followers_url":"https://api.github.com/users/Fishrock123/followers","following_url":"https://api.github.com/users/Fishrock123/following{/other_user}","gists_url":"https://api.github.com/users/Fishrock123/gists{/gist_id}","starred_url":"https://api.github.com/users/Fishrock123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fishrock123/subscriptions","organizations_url":"https://api.github.com/users/Fishrock123/orgs","repos_url":"https://api.github.com/users/Fishrock123/repos","events_url":"https://api.github.com/users/Fishrock123/events{/privacy}","received_events_url":"https://api.github.com/users/Fishrock123/received_events","type":"User","site_admin":false},"created_at":"2015-07-23T21:24:06Z","updated_at":"2015-07-23T21:24:06Z","body":"Express (or at least express subcomponents) don't actually ship with the tests, but still declare an `npm test` script if they are there. It's just a more reliable way for us to invoke the tests if they are there rather than trying to do per-package stuff. :)"}}