This repository has been archived by the owner on Jul 31, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
124 lines (124 loc) · 4.99 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{
"name": "js.device.selector",
"version": "1.0.1",
"description": "ES6 class and jQuery Plugin which get the current Device Type and Display Type of a Browser while making CSS Breakpoints available in the JavaScript.",
"devDependencies": {
"@remy/snap": "^1.1.1",
"babel-core": "^6.26.3",
"babel-loader": "^7.1.5",
"babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.7.0",
"babel-preset-stage-2": "^6.24.1",
"casperjs": "^1.1.4",
"compression": "^1.7.4",
"cross-env": "^5.2.1",
"eslint": "^4.19.1",
"eslint-config-google": "^0.9.1",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-node": "^6.0.1",
"eslint-plugin-promise": "^3.8.0",
"express": "^4.17.1",
"express-minify": "^1.0.0",
"express-nunjucks": "^2.2.5",
"grunt": "^1.4.1",
"grunt-banner": "^0.6.0",
"grunt-cli": "^1.4.3",
"grunt-contrib-clean": "^1.1.0",
"grunt-contrib-copy": "^1.0.0",
"grunt-contrib-uglify": "^3.4.0",
"grunt-eslint": "^20.2.0",
"grunt-jsdoc": "^2.4.1",
"grunt-strip-code": "^1.0.0",
"grunt-stripcomments": "^0.7.2",
"grunt-webpack": "^3.1.3",
"highlight.js": "^10.4.1",
"html-entities": "^1.4.0",
"html-webpack-plugin": "^3.2.0",
"http-server": "^0.12.3",
"istanbul-instrumenter-loader": "^3.0.1",
"jasmine-core": "^3.7.1",
"jit-grunt": "^0.10.0",
"jquery": "^3.6.0",
"jsdoc": "^3.6.7",
"karma": "^2.0.5",
"karma-coverage": "^1.1.2",
"karma-jasmine": "^1.1.2",
"karma-jquery": "^0.2.4",
"karma-phantomjs-launcher": "^1.0.4",
"karma-qunit": "^2.1.0",
"karma-webpack": "^3.0.5",
"load-grunt-configs": "^1.0.0",
"node-qunit-phantomjs": "^2.1.1",
"nunjucks": "^3.2.3",
"phantomjs-prebuilt": "^2.1.16",
"pretty": "^2.0.0",
"qunit": "^2.15.0",
"time-grunt": "^1.4.0",
"webpack": "^4.46.0",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.2",
"webpack-merge": "^4.2.2"
},
"scripts": {
"start": "npm install && npm run dev",
"dev": "npm run dev-webpack && npm run dev-karma",
"dev-webpack": "cross-env NODE_ENV=dev webpack-dev-server --progress --mode development --config build/webpack.config.dev.js &",
"dev-webpack-stop": "kill $(ps aux | grep 'webpack' | awk '{print $2}')",
"dev-karma": "cross-env NODE_ENV=dev karma start build/karma.es6.config.js",
"dev-example": "node ./example/server.js",
"build": "npm run lint && npm run doc-clean && npm run doc-example && grunt",
"dist": "npm run build",
"doc-clean": "rm -rf ./docs/static; rm -f ./docs/index.html",
"doc-example": "node ./example/server.js & echo $! > .pid; sleep 1 && node_modules/@remy/snap/cli/index.js http://localhost:3333 -o docs; kill $(cat .pid); rm .pid; cp -Rf ./example/static/img ./docs/static",
"test": "npm run build && npm run tests",
"tests": "npm run test-coverage && npm run test-integration",
"test-integration": "npm run test-qunit && npm run test-qunit-min && npm run test-casper",
"test-coverage": "npm run test-qunit-coverage && npm run test-jasmine-coverage && grunt coverage",
"test-qunit-coverage": "node_modules/karma/bin/karma start build/karma.jquery.config.js --single-run",
"test-qunit": "node_modules/node-qunit-phantomjs/bin/node-qunit-phantomjs src/index.jquery.test.html",
"test-qunit-min": "node_modules/node-qunit-phantomjs/bin/node-qunit-phantomjs src/index.jquery.min.test.html",
"test-jasmine-coverage": "cross-env NODE_ENV=dev karma start build/karma.es6.config.js --single-run",
"test-capture": "npm run http-server && sleep 3 && npm run test-casper-capture && npm run http-server-stop",
"test-casper-capture": "node_modules/casperjs/bin/casperjs test ./tests/casper/init.js --capture",
"test-casper-jquery": "node_modules/casperjs/bin/casperjs test ./tests/casper/init.js",
"test-casper-es6": "node_modules/casperjs/bin/casperjs test ./tests/casper/init.js --origin=http://localhost:8080 --path=/index.html",
"test-casper": "npm run http-server && sleep 3 && npm run test-casper-jquery && npm run http-server-stop",
"http-server": "node_modules/http-server/bin/http-server --gzip --silent -p 7357 -a 127.0.0.1 ./ & echo $! > .pid",
"http-server-stop": "kill $(cat .pid); rm .pid",
"lint": "node_modules/eslint/bin/eslint.js src/js/**",
"lint-fix": "node_modules/eslint/bin/eslint.js --fix src/js/**"
},
"keywords": [
"device",
"display",
"selector",
"breakpoints",
"mediaquery",
"mediaqueries",
"media-queries",
"media-query",
"media",
"query",
"es6",
"ECMAScript",
"jquery"
],
"main": "src/js/device.selector.class.js",
"author": "Simon Gattner <[email protected]>",
"homepage": "https://exiguus.github.io/js.device.selector/",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/exiguus/js.device.selector.git"
},
"dependencies": {},
"engines": {
"node": ">= 10.0.0",
"npm": ">= 6.0.1"
},
"browserslist": [
"> 1%",
"last 2 versions",
"not ie <= 8"
]
}