{"action":"created","issue":{"url":"https://api.github.com/repos/strongloop/loopback-next/issues/1027","repository_url":"https://api.github.com/repos/strongloop/loopback-next","labels_url":"https://api.github.com/repos/strongloop/loopback-next/issues/1027/labels{/name}","comments_url":"https://api.github.com/repos/strongloop/loopback-next/issues/1027/comments","events_url":"https://api.github.com/repos/strongloop/loopback-next/issues/1027/events","html_url":"https://github.com/strongloop/loopback-next/issues/1027","id":299206028,"number":1027,"title":"Config instruction in packages/build README is different from generated LB app","user":{"login":"dhmlau","id":25489897,"avatar_url":"https://avatars3.githubusercontent.com/u/25489897?v=4","gravatar_id":"","url":"https://api.github.com/users/dhmlau","html_url":"https://github.com/dhmlau","followers_url":"https://api.github.com/users/dhmlau/followers","following_url":"https://api.github.com/users/dhmlau/following{/other_user}","gists_url":"https://api.github.com/users/dhmlau/gists{/gist_id}","starred_url":"https://api.github.com/users/dhmlau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhmlau/subscriptions","organizations_url":"https://api.github.com/users/dhmlau/orgs","repos_url":"https://api.github.com/users/dhmlau/repos","events_url":"https://api.github.com/users/dhmlau/events{/privacy}","received_events_url":"https://api.github.com/users/dhmlau/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-22T03:01:30Z","updated_at":"2018-02-22T03:27:54Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"In the [packages/build README](https://github.com/strongloop/loopback-next/tree/master/packages/build), the package.json is different from that in the generated LB app.  Is the sample package.json in the README still correct? \r\n\r\npackage.json in packages/build README\r\n```\r\n\"scripts\": {\r\n    \"build\": \"npm run build:dist && npm run build:dist6\",\r\n    \"build:current\": \"lb-tsc\",\r\n    \"build:dist\": \"lb-tsc es2017\",\r\n    \"build:dist6\": \"lb-tsc es2015\",\r\n    \"build:apidocs\": \"lb-apidocs\",\r\n    \"tslint\": \"lb-tslint\",\r\n    \"tslint:fix\": \"npm run tslint -- --fix\",\r\n    \"prettier:cli\": \"lb-prettier \\\"**/*.ts\\\"\",\r\n    \"prettier:check\": \"npm run prettier:cli -- -l\",\r\n    \"prettier:fix\": \"npm run prettier:cli -- --write\",\r\n    \"lint\": \"npm run prettier:check && npm run tslint\",\r\n    \"lint:fix\": \"npm run prettier:fix && npm run tslint:fix\",\r\n    \"clean\": \"lb-clean your-module-name*.tgz dist* api-docs\",\r\n    \"prepare\": \"npm run build && npm run build:apidocs\",\r\n    \"pretest\": \"npm run build:current\",\r\n    \"acceptance\": \"lb-mocha \\\"DIST/test/acceptance/**/*.js\\\"\",\r\n    \"integration\": \"lb-mocha \\\"DIST/test/integration/**/*.js\\\"\",\r\n    \"test\": \"lb-mocha \\\"DIST/test/unit/**/*.js\\\" \\\"DIST/test/integration/**/*.js\\\" \\\"DIST/test/acceptance/**/*.js\\\"\",\r\n    \"unit\": \"lb-mocha \\\"DIST/test/unit/**/*.js\\\"\",\r\n    \"verify\": \"npm pack && tar xf your-module-name*.tgz && tree package && npm run clean\"\r\n  },\r\n```\r\n\r\npackage.json in generated LB app:\r\n```\r\n\"scripts\": {\r\n    \"build\": \"lb-tsc\",\r\n    \"build:watch\": \"lb-tsc --watch\",\r\n    \"clean\": \"lb-clean\",\r\n    \"lint\": \"npm run prettier:check && npm run tslint\",\r\n    \"lint:fix\": \"npm run prettier:fix && npm run tslint:fix\",\r\n    \"prettier:cli\": \"lb-prettier \\\"**/*.ts\\\" \\\"**/*.js\\\"\",\r\n    \"prettier:check\": \"npm run prettier:cli -- -l\",\r\n    \"prettier:fix\": \"npm run prettier:cli -- --write\",\r\n    \"tslint\": \"lb-tslint\",\r\n    \"tslint:fix\": \"npm run tslint -- --fix\",\r\n    \"pretest\": \"npm run clean && npm run build\",\r\n    \"test\": \"lb-mocha \\\"DIST/test\\\"\",\r\n    \"posttest\": \"npm run lint\",\r\n    \"start\": \"npm run build && node .\",\r\n    \"prepublishOnly\": \"npm run test\"\r\n  },\r\n```\r\n\r\ncc @raymondfeng "},"comment":{"url":"https://api.github.com/repos/strongloop/loopback-next/issues/comments/367556148","html_url":"https://github.com/strongloop/loopback-next/issues/1027#issuecomment-367556148","issue_url":"https://api.github.com/repos/strongloop/loopback-next/issues/1027","id":367556148,"user":{"login":"raymondfeng","id":540892,"avatar_url":"https://avatars0.githubusercontent.com/u/540892?v=4","gravatar_id":"","url":"https://api.github.com/users/raymondfeng","html_url":"https://github.com/raymondfeng","followers_url":"https://api.github.com/users/raymondfeng/followers","following_url":"https://api.github.com/users/raymondfeng/following{/other_user}","gists_url":"https://api.github.com/users/raymondfeng/gists{/gist_id}","starred_url":"https://api.github.com/users/raymondfeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raymondfeng/subscriptions","organizations_url":"https://api.github.com/users/raymondfeng/orgs","repos_url":"https://api.github.com/users/raymondfeng/repos","events_url":"https://api.github.com/users/raymondfeng/events{/privacy}","received_events_url":"https://api.github.com/users/raymondfeng/received_events","type":"User","site_admin":false},"created_at":"2018-02-22T03:27:54Z","updated_at":"2018-02-22T03:27:54Z","author_association":"OWNER","body":"We should fix it."}}
{"actor":{"display_login":"raymondfeng"}}