-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
74 lines (74 loc) · 2.65 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
{
"name": "bubblesub",
"version": "1.5.1",
"description": "Observables based on DOM events",
"repository": "https://github.com/zenwork/bubblesub.git",
"author": "Florian Hehlen <[email protected]>",
"license": "MIT",
"keywords": [
"typescript",
"DI",
"publisher",
"subscriber",
"event"
],
"scripts": {
"build": "pika build",
"build:serve": "npm run build && mkdir -p .serve/node_modules && rsync -cavzur pkg/ .serve/ > /dev/null 2>&1 && rsync -cavzur ./node_modules/lit-html .serve/node_modules > /dev/null 2>&1 && rsync -cavzur ./node_modules/lit-element .serve/node_modules > /dev/null 2>&1 ",
"build:watch": "watch \"npm run build:serve\" ./src ./assets",
"lint": "tslint -c tslint.json 'src/**/*.ts'",
"minify": "terser --source-map includeSources pkg/dist-web/index.js -o pkg/dist-web/index.min.js; terser --source-map includeSources pkg/dist-web/index.bundled.js -o pkg/dist-web/index.bundled.min.js",
"prepare": "npm run build:serve; npm run lint",
"serve": "es-dev-server --config es-dev-server.config.js --root-dir .serve",
"test": "npm run test:headless",
"test:headless": "mocha-headless-chrome -f http://localhost:8888/assets/test-bundled.html",
"test:watch": "watch \"npm run build:serve && npm run test:headless\" ./src ./assets",
"version": "npm run build"
},
"devDependencies": {
"@pika/pack": "^0.5.0",
"@pika/plugin-build-node": "^0.6.1",
"@pika/plugin-build-web": "^0.6.1",
"@pika/plugin-bundle-web": "^0.6.1",
"@pika/plugin-copy-assets": "^0.6.1",
"@pika/plugin-ts-standard-pkg": "^0.6.1",
"@pika/web": "^0.6.1",
"@types/chai": "^4.2.3",
"@types/mocha": "^5.2.7",
"chai": "^4.2.0",
"es-dev-server": "^1.57.4",
"lit-element": "^2.2.1",
"lit-html": "^1.1.2",
"mocha": "^6.2.1",
"mocha-headless-chrome": "^2.0.3",
"terser": "^4.6.3",
"tslint": "^5.20.0",
"typescript": "^3.7.5",
"watch": "^1.0.2"
},
"@pika/pack": {
"pipeline": [
[
"@pika/plugin-ts-standard-pkg"
],
[
"@pika/plugin-build-web"
],
[
"@pika/plugin-build-node"
],
[
"@pika/plugin-bundle-web",
{}
],
[
"@pika/plugin-copy-assets",
{
"files": [
"/assets"
]
}
]
]
}
}