-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
74 lines (74 loc) · 3.4 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{
"name": "@zigvycorp/scratch-l10n",
"version": "0.1.7",
"description": "Localization for the Scratch 3.0 components",
"main": "./dist/l10n.js",
"browser": "./src/index.js",
"bin": {
"build-i18n-src": "./scripts/build-i18n-src.js"
},
"scripts": {
"build:data": "babel-node scripts/build-data",
"build": "yarn && yarn clean && yarn build:data && webpack --progress --colors --bail",
"clean": "rimraf ./dist ./locales && mkdirp dist locales",
"lint:js": "eslint . --ext .js",
"lint:json": "jshint -e .json www editor/blocks editor/extensions editor/interface editor/paint-editor",
"lint": "npm run lint:js && npm run lint:json",
"test": "npm run lint:js && npm run validate:editor && npm run validate:www && npm run build && npm run lint:json",
"update": "scripts/update-translations.sh",
"prepublishOnly": "npm run build",
"validate:blocks": "babel-node scripts/validate-translations ./editor/blocks/",
"validate:extensions": "babel-node scripts/validate-translations ./editor/extensions/ && babel-node scripts/validate-extension-inputs",
"validate:interface": "babel-node scripts/validate-translations ./editor/interface/",
"validate:paint": "babel-node scripts/validate-translations ./editor/paint-editor/",
"validate:editor": "npm run validate:blocks && npm run validate:extensions && npm run validate:interface && npm run validate:paint",
"validate:www": "babel-node scripts/validate-www ./www",
"index:translate-dev": "ENDPOINT=http://localhost:4500/api/block/v1/block-translation babel-node scripts/index-translate.js",
"index:translate-us": "ENDPOINT=https://web-agw.creaticode.com/api/block/v1/block-translation babel-node scripts/index-translate.js",
"index:translate-cn": "ENDPOINT=https://web-agw.creaticode.cn/api/block/v1/block-translation babel-node scripts/index-translate.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ZigvyCorp/scratch-l10n.git"
},
"author": "Massachusetts Institute of Technology",
"license": "BSD-3-Clause",
"bugs": {
"url": "https://github.com/ZigvyCorp/scratch-l10n/issues"
},
"homepage": "https://github.com/ZigvyCorp/scratch-l10n#readme",
"dependencies": {
"@babel/cli": "^7.1.2",
"@babel/core": "^7.1.2",
"babel-plugin-react-intl": "^3.0.1"
},
"devDependencies": {
"@babel/node": "7.2.2",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
"@babel/plugin-transform-async-to-generator": "^7.1.0",
"@babel/preset-env": "^7.9.5",
"@babel/preset-react": "^7.0.0",
"async": "2.6.1",
"babel-eslint": "^10.0.1",
"babel-loader": "8.0.5",
"eslint": "^5.0.1",
"eslint-config-scratch": "^5.0.0",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-react": "^7.5.1",
"format-message-cli": "6.2.1",
"format-message-parse": "6.2.0",
"glob": "7.1.3",
"jshint": "2.9.7",
"json": "^9.0.6",
"jsonlint": "1.6.3",
"lodash.defaultsdeep": "4.6.1",
"mkdirp": "^0.5.1",
"node-fetch": "^2.6.0",
"p-limit": "2.1.0",
"p-queue": "3.0.0",
"rimraf": "^2.6.2",
"webpack": "^4.6.0",
"webpack-cli": "^3.1.2"
}
}