-
Notifications
You must be signed in to change notification settings - Fork 23
/
package.json
71 lines (71 loc) · 2.22 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
{
"name": "bitmovin-javascript",
"version": "2.35.0",
"main": "./dist/index.js",
"browser": "./dist/bitmovin.browser.js",
"types": "./dist/index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/bitmovin/bitmovin-javascript.git"
},
"files": [
"dist"
],
"license": "MIT",
"scripts": {
"clean": "rimraf dist",
"lint": "tslint \"./{bitmovin,tests}/**/*.ts\"",
"lint-examples": "eslint ./examples",
"test": "jest --watch",
"coverage-ci": "jest --runInBand --coverage",
"format": "prettier --config ./.prettierrc --write \"./{bitmovin,examples,tests}/**/*.ts\"",
"format-files": "prettier --config ./.prettierrc --write",
"format-check": "prettier --config ./.prettierrc --list-different \"./{bitmovin,examples,tests}/**/*.ts\"",
"build": "yarn clean && yarn build:bundle:dev && yarn build:bundle:prod && yarn build:modules",
"build:bundle:dev": "cross-env NODE_ENV=development webpack --config=./webpack4.config.js",
"build:bundle:prod": "cross-env NODE_ENV=production webpack --config=./webpack4.config.js",
"build:modules": "tsc --project ./tsconfig.json && replace \"__VERSION__\" \"'$(node -p \"require('./package.json').version\")'\" ./dist/index.js",
"prepublish": "yarn lint && yarn build",
"precommit": "lint-staged"
},
"lint-staged": {
"*.ts": [
"yarn format-files",
"tslint --fix",
"git add"
],
"*.js": [
"yarn format-files",
"eslint --fix",
"git add"
]
},
"devDependencies": {
"@types/isomorphic-fetch": "^0.0.34",
"@types/jest": "^23.0.0",
"@types/url-join": "^0.8.2",
"awesome-typescript-loader": "^5.0.0",
"codecov": "^2.2.0",
"cross-env": "^5.2.0",
"eslint": "^4.19.1",
"esprima": "^4.0.0",
"husky": "^0.14.3",
"jest": "^23.1.0",
"lint-staged": "^7.2.0",
"prettier": "^1.12.1",
"replace": "^1.0.0",
"rimraf": "^2.6.2",
"ts-jest": "^22.4.6",
"tslint": "^5.10.0",
"typescript": "^2.9.1",
"uglifyjs-webpack-plugin": "^1.2.5",
"webpack": "^4.10.2",
"webpack-cli": "^3.1.1"
},
"dependencies": {
"es6-promise": "^4.2.4",
"isomorphic-fetch": "^2.2.1",
"moment": "^2.17.1",
"url-join": "^1.1.0"
}
}