forked from GoogleChromeLabs/quicklink
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
75 lines (75 loc) · 2.39 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
{
"name": "quicklink",
"version": "2.3.0",
"description": "Faster subsequent page-loads by prefetching in-viewport links during idle time",
"repository": "https://github.com/GoogleChromeLabs/quicklink.git",
"homepage": "https://getquick.link/",
"bugs": {
"url": "https://github.com/GoogleChromeLabs/quicklink/issues"
},
"author": "addyosmani <addyosmani@gmail.com>",
"license": "Apache-2.0",
"main": "dist/quicklink.js",
"module": "dist/quicklink.mjs",
"jsnext:main": "dist/quicklink.mjs",
"umd:main": "dist/quicklink.umd.js",
"unpkg": "dist/quicklink.umd.js",
"files": [
"dist"
],
"scripts": {
"lint": "eslint src/*.mjs test/*.js demos/*.js",
"lint-fix": "eslint src/*.mjs test/*.js --fix demos/*.js",
"start": "http-server .",
"test": "yarn run build-all && mocha test/bootstrap.js --recursive test",
"build": "microbundle src/index.mjs --no-sourcemap --external none",
"build-plugin": "microbundle src/chunks.mjs --no-sourcemap --external none -o dist/react",
"build-all": "yarn run build && yarn run build-plugin && yarn run build-react-chunks",
"prepare": "yarn run -s build",
"build-react-chunks": "./node_modules/.bin/babel src/react-chunks.js --out-file dist/react/hoc.js",
"bundlesize": "bundlesize",
"changelog": "yarn conventional-changelog -i CHANGELOG.md -s -r 0",
"release": "cross-var yarn run build-all -s && cross-var git commit -am $npm_package_version && cross-var git tag $npm_package_version && git push && git push --tags"
},
"keywords": [
"prefetch",
"performance",
"fetch",
"intersectionobserver",
"background",
"speed"
],
"dependencies": {
"route-manifest": "^1.0.0",
"throttles": "^1.0.0"
},
"peerDependencies": {
"react": "^16.8.0",
"react-dom": "^16.8.0"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.9.0",
"@babel/preset-env": "^7.9.5",
"@babel/preset-react": "^7.9.4",
"bundlesize": "^0.18.0",
"chai": "^4.2.0",
"conventional-changelog-cli": "^2.0.11",
"cross-var": "^1.1.0",
"eslint": "^6.7.1",
"eslint-config-google": "^0.14.0",
"http-server": "^0.12.0",
"lodash": "^4.17.11",
"microbundle": "0.11.0",
"mocha": "^6.2.2",
"puppeteer": "^2.0.0",
"react": "^16.12.0",
"react-dom": "^16.12.0"
},
"bundlesize": [
{
"path": "./dist/*.js",
"maxSize": "2 kB"
}
]
}