-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
70 lines (70 loc) · 2.6 KB
/
Copy pathpackage.json
File metadata and controls
70 lines (70 loc) · 2.6 KB
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
{
"name": "basic-l10n",
"version": "2.0.0",
"description": "basic localization of strings (396 bytes gzip, no deps), including pluralization and reordering of substitutions with template literals.",
"main": "dist/index.min.js",
"typings": "dist/index.d.ts",
"scripts": {
"predist": "mkdirp dist && rimraf dist/*",
"dist": "tsc -p src --outDir dist",
"postdist": "npm run uglify",
"example": "npm run example:bundle && npm run example:serve",
"example:serve": "http-server -c-1 -i -e html -o -p 6510 example",
"preexample:html": "rimraf example/index.html",
"example:html": "inline-source --compress false --root ./example example/index.template.html example/index.html",
"preexample:bundle": "rimraf example/*.js",
"example:bundle": "browserify example/index.ts -p [ tsify --project example ] -g uglifyify -p bundle-collapser/plugin -p [ common-shakeify -v ] | uglifyjs -c toplevel -m toplevel -o example/index.js",
"prepublish": "npm run test",
"pretest": "npm run dist",
"test": "jasmine",
"pretest:web": "rimraf spec/web/*.js && npm run dist",
"test:web": "browserify spec/*.spec.js -g uglifyify -p bundle-collapser/plugin -p [ common-shakeify -v ] | uglifyjs -c toplevel -m toplevel -o spec/web/index.spec.js && npm run test:web:serve",
"test:web:serve": "http-server -c-1 -o -p 6510 spec/web",
"uglify": "uglifyjs dist/index.js -c toplevel -m toplevel --define process.env.NODE_ENV=\\\"production\\\" -o dist/index.min.js"
},
"keywords": [
"locale",
"l10n",
"localization",
"i18n",
"internationalization",
"plural",
"template literals"
],
"author": {
"name": "Stephane M. Catala",
"email": "stephane@zenyway.com"
},
"license": "SEE LICENSE IN LICENSE",
"repository": {
"type": "git",
"url": "git+https://github.com/zenyway/basic-l10n.git"
},
"bugs": {
"url": "https://github.com/zenyway/basic-l10n/issues"
},
"homepage": "https://github.com/zenyway/basic-l10n#readme",
"devDependencies": {
"@types/node": "^10.10.1",
"browserify": "^16.2.2",
"bundle-collapser": "^1.3.0",
"common-shakeify": "^0.4.6",
"envify": "^4.1.0",
"eslint-plugin-typescript": "^0.12.0",
"http-server": "^0.11.1",
"inline-source-cli": "^1.2.0",
"jasmine": "^3.2.0",
"printf": "^0.5.1",
"rimraf": "^2.6.2",
"standard": "^12.0.1",
"tsify": "^4.0.0",
"tslint": "^5.11.0",
"tslint-config-standard": "^8.0.1",
"typescript": "^3.0.3",
"typescript-eslint-parser": "^18.0.0",
"uglify-es": "^3.3.9",
"uglifyify": "^5.0.1",
"xterm": "^3.7.0"
},
"dependencies": {}
}