mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-06-07 19:14:40 -04:00
Add scratch-l10n dependency (#1799)
* update scratch-l10n dependency The new scratch-l10n package includes a script that will push the source file to transfex. Updated the package.json to push the source after extracting strings. Travis deploy that will build and push strings if run as a cron job * Fix package-lock Ran `npm i` as suggested by failing travis log.
This commit is contained in:
parent
3952c7e4fa
commit
ff9d16065b
3 changed files with 2876 additions and 2535 deletions
|
@ -38,14 +38,22 @@ jobs:
|
|||
- provider: npm
|
||||
on:
|
||||
all_branches: true
|
||||
condition: $TRAVIS_EVENT_TYPE != cron
|
||||
skip_cleanup: true
|
||||
email: $NPM_EMAIL
|
||||
api_key: $NPM_TOKEN
|
||||
- provider: script
|
||||
on:
|
||||
all_branches: true
|
||||
condition: $TRAVIS_EVENT_TYPE != cron
|
||||
skip_cleanup: true
|
||||
script: npm run --silent deploy -- -x -r $GH_PAGES_REPO
|
||||
- provider: script
|
||||
on:
|
||||
branch: develop
|
||||
condition: $TRAVIS_EVENT_TYPE == cron
|
||||
skip_cleanup: true
|
||||
script: npm run i18n:src && npm run i18n:push
|
||||
stages:
|
||||
- test
|
||||
- name: release
|
||||
|
|
5398
package-lock.json
generated
5398
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -16,8 +16,8 @@
|
|||
"coverage": "tap ./test/{unit,integration}/*.js --coverage --coverage-report=lcov",
|
||||
"deploy": "touch playground/.nojekyll && gh-pages -t -d playground -m \"Build for $(git log --pretty=format:%H -n1)\"",
|
||||
"docs": "jsdoc -c .jsdoc.json",
|
||||
"extract:core": "mkdirp translations/core && format-message extract --out-file translations/core/en.json src/extensions/**/index.js",
|
||||
"i18n:src": "npm run extract:core",
|
||||
"i18n:src": "mkdirp translations/core && format-message extract --out-file translations/core/en.json src/extensions/**/index.js",
|
||||
"i18n:push": "tx-push-src scratch-editor extensions translations/core/en.json",
|
||||
"lint": "eslint . && format-message lint src/**/*.js",
|
||||
"prepublish": "in-publish && npm run build || not-in-publish",
|
||||
"start": "webpack-dev-server",
|
||||
|
@ -69,6 +69,7 @@
|
|||
"pngjs": "^3.3.2",
|
||||
"scratch-audio": "latest",
|
||||
"scratch-blocks": "latest",
|
||||
"scratch-l10n": "^3.1.20181129221712",
|
||||
"scratch-render": "latest",
|
||||
"scratch-storage": "^1.1.0",
|
||||
"scratch-svg-renderer": "latest",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue