-
-
Notifications
You must be signed in to change notification settings - Fork 52
/
package.json
76 lines (76 loc) · 3.49 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
{
"name": "vue-lazy-hydration",
"version": "2.0.0-beta.4",
"description": "Lazy Hydration of Server-Side Rendered Vue.js Components",
"keywords": [
"gridsome",
"hydration",
"nuxt",
"ssr",
"vue"
],
"author": "Markus Oberlehner",
"homepage": "https://github.com/maoberlehner/vue-lazy-hydration",
"license": "MIT",
"scripts": {
"scripts:umd": "rollup --config --output.format umd --name vue-lazy-hydration --output.file dist/LazyHydrate.js src/LazyHydrate.js",
"scripts:es": "rollup --config --output.format es --name vue-lazy-hydration --output.file dist/LazyHydrate.esm.js src/LazyHydrate.js",
"scripts:minify": "uglifyjs --compress --mangle --comments --output dist/LazyHydrate.min.js dist/LazyHydrate.js && uglifyjs --compress --mangle --comments --output dist/LazyHydrate.esm.min.js dist/LazyHydrate.esm.js",
"scripts": "yarn run scripts:umd && yarn run scripts:es && yarn run scripts:minify",
"build": "yarn run scripts",
"lint:scripts": "eslint --ignore-path .gitignore .",
"lint:scripts-md": "eslint --config .eslintrc-md.json --ext md --ignore-path .gitignore .",
"lint": "yarn run lint:scripts && yarn run lint:scripts-md",
"test:perf:compile": "npx vue-cli-service build --target lib --no-clean --dest test/performance/dist --name 'entry-reference' test/performance/entry-reference.js && npx vue-cli-service build --target lib --no-clean --dest test/performance/dist --name 'entry-hydrate-never' test/performance/entry-hydrate-never.js",
"test:perf:render": "node test/performance/render.js",
"test:perf:build": "npm run build && npm run test:perf:compile && npm run test:perf:render",
"test:perf:serve": "serve test/performance/dist",
"test:perf": "concurrently 'npm:test:perf:serve' 'node test/performance/benchmark.js' --kill-others",
"test:integration:compile": "npx vue-cli-service build --target lib --no-clean --dest test/integration/dist --name 'entry-integration' test/integration/entry-integration.js",
"test:integration:render": "node test/integration/render.js",
"test:integration:build": "npm run build && npm run test:integration:compile && npm run test:integration:render",
"test:integration:serve": "serve test/integration/dist",
"test:integration": "concurrently 'npm:test:integration:serve' 'jest test/integration/integration.test.js' --kill-others",
"prepublishOnly": "yarn run lint && yarn run build"
},
"devDependencies": {
"@avalanche/eslint-config": "^4.0.0",
"@babel/core": "^7.12.3",
"@babel/preset-env": "^7.12.1",
"@vue/cli-service": "^4.5.9",
"babel-eslint": "^10.1.0",
"cli-table3": "^0.6.0",
"concurrently": "^5.3.0",
"eslint": "^7.13.0",
"eslint-plugin-compat": "^3.8.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-markdown": "^1.0.2",
"eslint-plugin-vue": "^7.1.0",
"jest": "^26.6.3",
"jest-puppeteer": "^4.4.0",
"lighthouse": "^6.4.1",
"marked": "^1.2.4",
"puppeteer": "^5.5.0",
"rollup": "^2.33.3",
"rollup-plugin-babel": "^4.4.0",
"serve": "^11.3.2",
"uglify-es": "^3.3.9",
"vue": "^2.6.12",
"vue-server-renderer": "^2.6.12",
"vue-template-compiler": "^2.6.12"
},
"main": "dist/LazyHydrate.js",
"module": "dist/LazyHydrate.esm.js",
"repository": {
"type": "git",
"url": "https://github.com/maoberlehner/vue-lazy-hydration"
},
"bugs": {
"url": "https://github.com/maoberlehner/vue-lazy-hydration/issues"
},
"browserslist": [
"> 0.5%",
"not ie <= 10",
"not op_mini all"
]
}