mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-07-11 05:24:05 -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
|
- provider: npm
|
||||||
on:
|
on:
|
||||||
all_branches: true
|
all_branches: true
|
||||||
|
condition: $TRAVIS_EVENT_TYPE != cron
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
email: $NPM_EMAIL
|
email: $NPM_EMAIL
|
||||||
api_key: $NPM_TOKEN
|
api_key: $NPM_TOKEN
|
||||||
- provider: script
|
- provider: script
|
||||||
on:
|
on:
|
||||||
all_branches: true
|
all_branches: true
|
||||||
|
condition: $TRAVIS_EVENT_TYPE != cron
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
script: npm run --silent deploy -- -x -r $GH_PAGES_REPO
|
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:
|
stages:
|
||||||
- test
|
- test
|
||||||
- name: release
|
- 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",
|
"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)\"",
|
"deploy": "touch playground/.nojekyll && gh-pages -t -d playground -m \"Build for $(git log --pretty=format:%H -n1)\"",
|
||||||
"docs": "jsdoc -c .jsdoc.json",
|
"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": "mkdirp translations/core && format-message extract --out-file translations/core/en.json src/extensions/**/index.js",
|
||||||
"i18n:src": "npm run extract:core",
|
"i18n:push": "tx-push-src scratch-editor extensions translations/core/en.json",
|
||||||
"lint": "eslint . && format-message lint src/**/*.js",
|
"lint": "eslint . && format-message lint src/**/*.js",
|
||||||
"prepublish": "in-publish && npm run build || not-in-publish",
|
"prepublish": "in-publish && npm run build || not-in-publish",
|
||||||
"start": "webpack-dev-server",
|
"start": "webpack-dev-server",
|
||||||
|
@ -69,6 +69,7 @@
|
||||||
"pngjs": "^3.3.2",
|
"pngjs": "^3.3.2",
|
||||||
"scratch-audio": "latest",
|
"scratch-audio": "latest",
|
||||||
"scratch-blocks": "latest",
|
"scratch-blocks": "latest",
|
||||||
|
"scratch-l10n": "^3.1.20181129221712",
|
||||||
"scratch-render": "latest",
|
"scratch-render": "latest",
|
||||||
"scratch-storage": "^1.1.0",
|
"scratch-storage": "^1.1.0",
|
||||||
"scratch-svg-renderer": "latest",
|
"scratch-svg-renderer": "latest",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue