UNPKG

2.17 kBJSONView Raw
1{
2 "name": "viewportjs",
3 "version": "5.0.0",
4 "description": "ViewportJS is built on top of `window.matchMedia` and provides valuable features that enable more structure when querying and subscribing to media queries.",
5 "author": "Ryan Fitzer",
6 "readmeFilename": "readme.md",
7 "license": "MIT",
8 "main": "index.js",
9 "unpkg": "./dist/viewport.min.js",
10 "contributors": [
11 "Derek Pittsinger (https://github.com/derekpitt)"
12 ],
13 "repository": {
14 "type": "git",
15 "url": "https://github.com/ryanfitzer/ViewportJS.git"
16 },
17 "scripts": {
18 "build": "npm run toc && rm -rf ./dist && grunt --verbose",
19 "checkpkg": "npm pack && tar -xvzf *.tgz && rm -rf package *.tgz",
20 "demo": "open ./demo/index.html &",
21 "demo:ff": "open -a 'Firefox' './demo/index.html'",
22 "demo:safari": "open -a 'Safari' ./demo/index.html",
23 "demo:chrome": "open -a 'Google Chrome' ./demo/index.html",
24 "karma": "karma start --single-run",
25 "mocha": "mocha --watch test/api-node.js",
26 "prepublishOnly": "npm run build",
27 "test": "mocha test/api-node.js && karma start --single-run",
28 "test:travis": "mocha test/api-node.js && karma start --single-run --browsers ChromeHeadless,Firefox",
29 "toc": "doctoc README.md --github",
30 "lint": "eslint index.js"
31 },
32 "files": [
33 "dist",
34 "LICENSE",
35 "README.md",
36 "index.js"
37 ],
38 "keywords": [
39 "@media",
40 "breakpoints",
41 "css",
42 "media",
43 "media query",
44 "query",
45 "responsive"
46 ],
47 "devDependencies": {
48 "chai": "^4.2.0",
49 "doctoc": "^2.2.0",
50 "eslint": "^8.21.0",
51 "eslint-plugin-compat": "^4.0.2",
52 "grunt": "^1.0.4",
53 "grunt-contrib-copy": "^1.0.0",
54 "grunt-contrib-uglify": "^5.2.2",
55 "karma": "^6.4.0",
56 "karma-chai": "^0.1.0",
57 "karma-chrome-launcher": "^3.0.0",
58 "karma-coverage": "^2.0.0",
59 "karma-detect-browsers": "^2.3.3",
60 "karma-edge-launcher": "^0.4.2",
61 "karma-firefox-launcher": "^2.1.2",
62 "karma-ie-launcher": "^1.0.0",
63 "karma-mocha": "^2.0.1",
64 "karma-opera-launcher": "^1.0.0",
65 "karma-safari-launcher": "^1.0.0",
66 "karma-safaritechpreview-launcher": "^2.0.2",
67 "mocha": "^10.0.0"
68 }
69}