Skip to content
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
50 lines (49 sloc) 2.04 KB
"name": "lingascript",
"version": "0.3.0",
"description": "Typescript with non-English languages",
"main": "index.js",
"directories": {
"doc": "docs"
"dependencies": {
"file-patch": "^0.3.0",
"filecompare": "^1.0.4"
"devDependencies": {},
"scripts": {
"install": "npm run update-ts",
"clean": "rm -Rf typescript && npm run update-ts",
"prebuild": "npm run patch && cp src/common/compiler/keywords.ts typescript/src/compiler/keywords.ts",
"build:cn": "cp src/cn/language.ts typescript/src/compiler/language.ts && cp src/cn/package.json typescript/package.json && npm run build && cp src/cn/ typescript/",
"build:tw": "cp src/tw/language.ts typescript/src/compiler/language.ts && cp src/tw/package.json typescript/package.json && npm run build && cp src/tw/ typescript/",
"build:lang": "echo 'Target Language build is not supported yet'",
"build:ts": "cd typescript && npm install && jake clean && jake LKG",
"build": "npm run build:ts",
"pretest:en": "node typescript/built/local/tsc.js -p examples/en",
"pretest:cn": "node typescript/built/local/tsc.js --locale zh-cn -p examples/cn",
"pretest:tw": "node typescript/built/local/tsc.js --locale zh-tw -p examples/tw",
"test:cn": "npm run pretest:en && npm run pretest:cn && node tests/test.js cn",
"test:tw": "npm run pretest:en && npm run pretest:tw && node tests/test.js tw",
"update-ts": "git submodule update --init --recursive",
"upgrade-ts": "rm -Rf typescript && git submodule update --remote",
"diff": "./scripts/",
"patch": "./scripts/",
"backup": "./scripts/"
"repository": {
"type": "git",
"url": "git+"
"keywords": [
"author": "Fred Lin <>",
"license": "Apache-2.0",
"bugs": {
"url": ""
"homepage": ""
You can’t perform that action at this time.