Use yarn to run subcommands
"typings": "bin/index.d.ts",
"scripts": {
"clean": "rm -rf bin/ && rm -rf runtime/native/build",
- "build": "npm run copyprotos && npm run buildnative && tsc && npm run binplace && npm run lint",
+ "build": "yarn run copyprotos && yarn run buildnative && tsc && yarn run binplace && yarn run lint",
"buildnative": "cd runtime/native/ && node-gyp build",
- "lint": "tslint '{,!(/node_modules/|/bin/)/**/}*.ts'",
+ "lint": "tslint '{,!(node_modules|bin)/**/}*.ts'",
"copyprotos": "cp -r ../proto/nodejs proto/",
"binplaceprotos": "cp -r proto/ bin/proto/",
"binplacenative": "mkdir -p bin/runtime/native/build/ && cp -r runtime/native/build/ bin/runtime/native/build/",
"binplacetestdata": "mkdir -p bin/tests/runtime/langhost/cases/ && find tests/runtime/langhost/cases/* -type d -exec cp -R {} bin/tests/runtime/langhost/cases/ \\;",
- "binplace": "npm run binplaceprotos && npm run binplacenative && npm run binplacetestdata",
- "test": "npm run cov && npm run covreport",
+ "binplace": "yarn run binplaceprotos && yarn run binplacenative && yarn run binplacetestdata",
+ "test": "yarn run cov && yarn run covreport",
"cov": "istanbul cover --print none node_modules/.bin/_mocha -- --timeout 15000 'bin/tests/**/*.spec.js'",
"covreport": "istanbul report text-summary && istanbul report text"
},
