-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
101 lines (101 loc) · 3.49 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{
"name": "chomsky",
"version": "2.2.0",
"description": "A simple ES6 i18n engine.",
"main": "lib/index.js",
"typings": "build/main/index.d.ts",
"author": "Kameron R. Sween <[email protected]>",
"repository": "https://github.com/bullhorn/chomsky",
"license": "MIT",
"scripts": {
"info": "npm-scripts-info",
"prestart": "trash demo/src/chomsky-copied",
"start": "npm-run-all -p -r copy server",
"copy": "cpx \"src/**/*.ts\" demo/src/chomsky-copied --watch",
"server": "lite-server",
"build": "trash build && tsc -p tsconfig.json && tsc -p tsconfig-module.json",
"postbuild": "trash lib && babel build/main --ignore .d.ts --out-dir lib",
"lint": "tslint src/**/*.ts",
"unit": "yarn build && nyc ava --verbose",
"check-coverage": "nyc check-coverage --lines 80 --functions 80 --branches 80",
"test": "yarn lint && yarn unit && yarn check-coverage",
"watch": "trash build && multiview [yarn watch:build] [yarn watch:unit]",
"watch:build": "tsc -p tsconfig.json -w",
"watch:unit": "tsc -p tsconfig.json && ava --watch --verbose",
"cov": "yarn unit && yarn html-coverage && opn coverage/index.html",
"html-coverage": "nyc report --reporter=html",
"send-coverage": "nyc report --reporter=lcov > coverage.lcov && codecov",
"docs": "typedoc src/index.ts --excludePrivate --mode file --theme minimal --out build/docs && opn build/docs/index.html",
"docs:json": "typedoc --mode file --json build/docs/typedoc.json src/index.ts",
"prerelease": "yarn test",
"release": "standard-version"
},
"scripts-info": {
"info": "Display information about the scripts",
"build": "(Trash and re)build the library",
"lint": "Lint all typescript source files",
"unit": "Run unit tests",
"test": "Lint and test the library",
"watch": "Watch source files, rebuild library on changes, rerun relevant tests",
"watch:build": "Watch source files, rebuild library on changes",
"watch:unit": "Watch the build, rerun relevant tests on changes",
"cov": "Run tests, generate the HTML coverage report, and open it in a browser",
"html-coverage": "Output HTML test coverage report",
"send-coverage": "Output lcov test coverage report and send it to codecov",
"docs": "Generate API documentation and open it in a browser",
"docs:json": "Generate API documentation in typedoc JSON format",
"release": "Bump package.json version, update CHANGELOG.md, tag a release"
},
"engines": {
"node": ">=4"
},
"peerDependencies": {
"rxjs": "*"
},
"devDependencies": {
"babel-cli": "^6.8.0",
"babel-core": "6.8.0",
"babel-eslint": "^6.0.4",
"babel-polyfill": "^6.8.0",
"babel-preset-es2015": "^6.6.0",
"@types/node": "^7.0.5",
"ava": "^0.18.1",
"browser-env": "^2.0.21",
"codecov": "^1.0.1",
"cpx": "^1.5.0",
"intl": "^1.2.5",
"lite-server": "^2.2.2",
"multiview": "^2.3.1",
"npm-run-all": "^4.0.1",
"npm-scripts-info": "^0.3.6",
"nyc": "^10.0.0",
"opn-cli": "^3.1.0",
"rxjs": "^5.1.1",
"sinon": "^1.17.7",
"standard-version": "^4.0.0",
"trash-cli": "^1.4.0",
"tslint": "^4.0.2",
"tslint-config-standard": "^4.0.0",
"typedoc": "^0.5.5",
"typescript": "^2.2.0"
},
"nyc": {
"exclude": [
"**/*.spec.js"
]
},
"ava": {
"require": [
"./setup-browser-env.js"
],
"files": [
"build/main/**/*.spec.js"
],
"source": [
"build/main/**/*"
]
},
"dependencies": {
"tslib": "^1.5.0"
}
}