-
Notifications
You must be signed in to change notification settings - Fork 109
/
package.json
74 lines (74 loc) · 2.47 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
{
"author": "Metrological, Bas van Meurs <[email protected]>",
"name": "@lightningjs/core",
"version": "2.14.1",
"license": "Apache-2.0",
"type": "module",
"types": "dist/src/index.d.ts",
"module": "dist/src/index.js",
"main": "dist/lightning.js",
"exports": {
".": {
"types": "./dist/src/index.d.ts",
"import": "./dist/src/index.js",
"require": "./dist/lightning.js"
},
"./inspector": {
"types": "./devtools/lightning-inspect.d.ts",
"import": "./devtools/lightning-inspect.js",
"require": "./devtools/lightning-inspect.js"
},
"./package.json": "./package.json"
},
"sideEffects": [
"dist/lightning.*",
"devtools/*"
],
"files": [
"dist/**",
"devtools/**"
],
"scripts": {
"build": "shx mkdir -p dist && shx rm -fr dist/* && concurrently -c \"auto\" \"npm:build:lightning\" \"npm:build:lightning.min\" \"npm:build:lightning.es5\" \"npm:build:lightning.es5.min\" \"npm:build:lightning-inspect.es5\" && npm run src-to-dist",
"release": "npm run build && npm publish --access public",
"typedoc": "typedoc --tsconfig tsconfig.typedoc.json",
"tsd": "tsd",
"src-to-dist": "node ./scripts/src-to-dist.cjs",
"build:lightning-inspect.es5": "cross-env BUILD_INSPECTOR=true BUILD_ES5=true vite build --mode production",
"build:lightning": "vite build --mode production",
"build:lightning.min": "cross-env BUILD_MINIFY=true vite build --mode production",
"build:lightning.es5": "cross-env BUILD_ES5=true vite build --mode production",
"build:lightning.es5.min": "cross-env BUILD_ES5=true BUILD_MINIFY=true vite build --mode production",
"test": "vitest"
},
"repository": {
"type": "git",
"url": "[email protected]:rdkcentral/Lightning.git"
},
"bugs": {
"url": "https://github.com/rdkcentral/Lightning/issues"
},
"devDependencies": {
"@babel/core": "^7.8.3",
"@babel/plugin-transform-parameters": "^7.8.3",
"@babel/plugin-transform-spread": "^7.8.3",
"@babel/preset-env": "^7.8.3",
"@rollup/plugin-babel": "^6.0.3",
"@types/node": "^18.14.0",
"@vitejs/plugin-legacy": "^3.0.1",
"chai": "^4.2.0",
"concurrently": "^7.6.0",
"cross-env": "^7.0.3",
"mocha": "^6.2.1",
"rollup-plugin-cleanup": "^3.1.1",
"shelljs": "^0.8.5",
"shx": "^0.3.4",
"sinon": "^7.5.0",
"terser": "^5.16.8",
"tsd": "^0.21.0",
"typedoc": "^0.23.21",
"typescript": "^4.9.5",
"vite": "^4.0.4",
"vitest": "^0.27.2"
}
}