-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
99 lines (99 loc) · 3.13 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
{
"name": "@srgssr/pillarbox-web",
"description": "Pillarbox is the modern SRG SSR player",
"version": "1.15.1",
"type": "module",
"module": "dist/pillarbox.es.js",
"main": "dist/pillarbox.cjs.js",
"style": "./dist/pillarbox.min.css",
"types": "./dist/types/build.es.d.ts",
"exports": {
".": {
"import": "./dist/pillarbox.es.js",
"require": "./dist/pillarbox.cjs.js"
},
"./core": {
"import": "./dist/pillarbox-core.es.js",
"require": "./dist/pillarbox-core.cjs.js"
},
"./*": "./*"
},
"files": [
"dist/*",
"scss/*"
],
"directories": {
"doc": "docs"
},
"scripts": {
"build": "npm run build:lib && npm run build:typings && npm run build:css",
"build:css": "sass ./scss/pillarbox.scss:dist/pillarbox.min.css --style compressed --source-map --load-path node_modules",
"build:lib": "npm run build:core && npm run build:es && npm run build:cjs && npm run build:umd",
"build:core": "vite build --config vite.config.core.js",
"build:es": "vite build --config vite.config.es.js",
"build:cjs": "vite build --config vite.config.cjs.js",
"build:umd": "vite build --config vite.config.umd.js",
"build:typings": "npx -p typescript tsc",
"eslint": "eslint --ext .js src",
"generate:docs": "jsdoc --configure docs/api/jsdoc.json --verbose",
"github:page": "vite build && npm run generate:docs",
"outdated": "npm outdated",
"prebuild": "rimraf dist",
"release:ci": "semantic-release",
"start": "vite --port 6969 --open",
"stylelint": "stylelint **/*.scss --custom-syntax --allow-empty-input",
"stylelint:fix": "stylelint **/*.scss --fix",
"test": "jest --verbose",
"test:watch": "jest --watch --verbose"
},
"keywords": [],
"author": "SRG SSR",
"license": "MIT",
"bugs": {
"url": "https://github.com/SRGSSR/pillarbox-web/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/SRGSSR/pillarbox-web.git"
},
"publishConfig": {
"access": "public"
},
"homepage": "https://www.pillarbox.ch/",
"devDependencies": {
"@babel/core": "^7.24.1",
"@babel/preset-env": "^7.24.1",
"@commitlint/cli": "^18.4.3",
"@commitlint/config-conventional": "^18.4.3",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-terser": "^0.4.4",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^ 9.2.5",
"@semantic-release/npm": "^11.0.2",
"@types/jest": "^29.5.12",
"babel-jest": "^29.5.0",
"better-docs": "^2.7.3",
"buffer": "^6.0.3",
"clean-jsdoc-theme": "^4.2.17",
"eslint": "^8.55.0",
"eslint-plugin-jest": "^27.2.2",
"husky": "^8.0.3",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.6.1",
"jsdoc": "^4.0.2",
"jsdoc-tsimport-plugin": "^1.0.5",
"rimraf": "^5.0.5",
"sass": "^1.70.0",
"semantic-release": "^23.0.0",
"stylelint": "^16.2.1",
"stylelint-config-rational-order": "^0.1.2",
"stylelint-order": "^6.0.4",
"typescript": "^5.3.3",
"vite": "^5.4.10"
},
"dependencies": {
"video.js": "^8.11.8",
"videojs-contrib-eme": "^3.11.2"
}
}