-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
41 lines (41 loc) · 1.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
{
"name": "VideoMock",
"description": "A mock of the HTML5 Video element for testing",
"repository": "[email protected]/ybootin/VideoMock.git",
"version": "0.0.1",
"dependencies": {
"document-register-element": "^0.5.3",
"webcomponents.js": "^0.7.20"
},
"files": [
"dist",
"src",
"sample",
"README.md"
],
"devDependencies": {
"http-server": "0.8.5",
"karma": "^0.13.18",
"karma-jasmine": "^0.3.6",
"karma-phantomjs-launcher": "^0.2.3",
"karma-spec-reporter": "0.0.23",
"karma-typescript-preprocessor": "0.0.21",
"karma-verbose-reporter": "0.0.3",
"phantomjs": "^1.9.19",
"tslint": "^3.2.2",
"typescript": "1.7.5",
"uglify-js": "2.4.24",
"watch": "0.17.1"
},
"scripts": {
"prepublish": "npm run build && npm run uglify",
"build": "npm run buildts",
"buildts": "node_modules/typescript/bin/tsc --out dist/videomock.js --removeComments --sourceMap -t ES5 src/HTMLVideoMock.ts src/VideoWrapper.ts",
"watch": "node_modules/watch/cli.js 'npm run build' src/",
"sample": "node_modules/http-server/bin/http-server -c-1 --cors",
"dev": "npm run build && npm run sample",
"uglify": "node_modules/uglify-js/bin/uglifyjs -o dist/videomock.min.js dist/videomock.js",
"test": "npm run lint && npm run build && node_modules/karma/bin/karma start",
"lint": "node_modules/tslint/bin/tslint -c .tslint src/**/*.ts"
}
}