|
15 | 15 | "mocha_reporter": "dot"
|
16 | 16 | },
|
17 | 17 | "scripts": {
|
18 |
| - "clean": "rm -rf generated dist lib coverage && yarn run clean:dist", |
| 18 | + "clean": "rm -rf generated dist lib coverage && yarn clean:dist", |
19 | 19 | "clean:dist": "git checkout -- dist",
|
20 | 20 | "compile:browser": "browserify src/index.js --standalone td --outfile $npm_package_config_build_file -p headerify -t babelify",
|
21 | 21 | "compile:browser:test": "mkdir -p generated && browserify regression/browser-helper.js --outfile $npm_package_config_test_bundle -t babelify -t coffeeify --extension=\".coffee\" -t require-globify --ignore-missing",
|
22 | 22 | "compile:node": "babel src -d lib",
|
23 |
| - "compile": "yarn run compile:node && yarn run compile:browser && yarn run compile:browser:test", |
| 23 | + "compile": "yarn compile:node && yarn compile:browser && yarn compile:browser:test", |
24 | 24 | "cover": "nyc --reporter=lcov --reporter=text-summary --require babel-core/register _mocha --ui mocha-given --reporter $npm_package_config_mocha_reporter --compilers coffee:coffee-script --recursive regression/node-helper.coffee regression/src",
|
25 | 25 | "cover:report": "codeclimate-test-reporter < coverage/lcov.info",
|
26 | 26 | "style": "standard --fix",
|
27 | 27 | "test": "mocha --ui mocha-given --reporter $npm_package_config_mocha_reporter --compilers js:babel-core/register,coffee:coffee-script --recursive regression/node-helper.coffee regression/src",
|
28 |
| - "test:all": "yarn test:unit && yarn test && yarn run test:browser && yarn run test:example && yarn run test:typescript", |
| 28 | + "test:all": "yarn test:unit && yarn test && yarn test:browser && yarn test:example && yarn test:typescript", |
29 | 29 | "test:browser": "testem ci",
|
30 | 30 | "test:unit": "teenytest",
|
31 |
| - "test:ci": "yarn run clean && yarn run compile && yarn run style && yarn run test:all && yarn run clean:dist && echo \"All done!\"", |
| 31 | + "test:ci": "yarn clean && yarn compile && yarn style && yarn test:all && yarn clean:dist && echo \"All done!\"", |
32 | 32 | "test:typescript": "tsc --outDir generated/typescript -p regression/typescript && node generated/typescript/test.js",
|
33 | 33 | "test:example:webpack": "cd examples/webpack && yarn install && yarn test",
|
34 | 34 | "test:example:node": "cd examples/node && yarn install && yarn test",
|
35 | 35 | "test:example:lineman": "cd examples/lineman && yarn install && yarn test",
|
36 | 36 | "test:example:babel": "cd examples/babel && yarn install && yarn test",
|
37 |
| - "test:example": "yarn run test:example:node && yarn run test:example:lineman && yarn run test:example:webpack && yarn run test:example:babel", |
| 37 | + "test:example": "yarn test:example:node && yarn test:example:lineman && yarn test:example:webpack && yarn test:example:babel", |
38 | 38 | "version:write": "echo \"export default '$npm_package_version'\" > src/version.js",
|
39 | 39 | "version:changelog": "if command -v github_changelog_generator &>/dev/null; then github_changelog_generator; git commit -m \"Changelog for $npm_package_version\" CHANGELOG.md; else echo Versioning requires you first run 'gem install github_changelog_generator' >&2; fi",
|
40 |
| - "preversion": "git pull --rebase && yarn run test:ci", |
41 |
| - "version": "yarn run version:write && yarn run compile && git add dist src/version.js", |
42 |
| - "postversion": "git push --tags && yarn run version:changelog && git push && npm publish", |
| 40 | + "preversion": "git pull --rebase && yarn test:ci", |
| 41 | + "version": "yarn version:write && yarn compile && git add dist src/version.js", |
| 42 | + "postversion": "git push --tags && yarn version:changelog && git push && npm publish", |
43 | 43 | "prepare": "yarn compile"
|
44 | 44 | },
|
45 | 45 | "babel": {
|
|
0 commit comments