-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
executable file
·178 lines (178 loc) · 4.82 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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
{
"name": "@style.tools/async",
"version": "2.0.4",
"description": "A lightweight and high performance async CSS and script loader for frontend optimization.",
"author": {
"name": "[email protected]",
"email": "[email protected]",
"web": "style.tools"
},
"keywords": [
"async",
"css",
"script-loader",
"css-loader",
"feo",
"frontend",
"stylesheet",
"asynchronous",
"localstorage",
"cache-api",
"responsive",
"responsive-css",
"optimization",
"dependency"
],
"_modules": [
[
"async-core",
"Core async loading functionality. (required)"
],
[
"event-emitter",
"Event emitter (required for some modules)"
],
[
"debug",
"Debug / Performance timing. (used for dist/debug/ sources)"
],
[
"css-loader",
"Async CSS loader."
],
[
"js-loader",
"Async script loader."
],
[
"inline-js",
"Inline script via script-text or DOM selector (input or HTML container) to execute after scripts are loaded."
],
[
"regex",
"Regex functionality (required for some modules)"
],
[
"vendor",
"Vendor prefixes functionality (required for some modules)"
],
[
"rebase",
"Relative URL rebasing / URL compression."
],
[
"dependency",
"Dependency based loading."
],
[
"cache",
"Core cache functionality."
],
[
"cache-css",
"CSS related cache functionality."
],
[
"cache-js",
"Javascript related cache functionality."
],
[
"localstorage",
"localStorage cache."
],
[
"cache-api",
"Cache-API cache."
],
[
"xhr",
"XHR request module and CORS proxy."
],
[
"cache-update",
"Background cache update (HEAD request via XHR)."
],
[
"capture",
"Core capture functionality."
],
[
"capture-css",
"CSS related capture functionality."
],
[
"capture-js",
"Javascript related capture functionality."
],
[
"capture-observer",
"MutationObserver based capture."
],
[
"capture-insert",
"DOM insert method rewrite based capture."
],
[
"timing",
"Timed loading including DomReady, setTimeout, requestAnimationFrame and requestIdleCallback."
],
[
"responsive",
"Responsive loading based on a Media Query."
],
[
"inview",
"Timing based on element viewport visibility."
],
[
"lazy",
"Timing based on $lazy (Intersection Observer)."
],
[
"api",
"Public API and events."
],
[
"attr-config",
"data-c HTML attribute based config via <script> element."
]
],
"homepage": "https://style.tools/",
"repository": {
"type": "git",
"url": "git+https://github.com/style-tools/async.git"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/style-tools/async/issues"
},
"engines": {
"node": "~10"
},
"devDependencies": {
"@style.tools/async-iife": "2.0.4",
"@style.tools/lazy": "1.2.1",
"browserstack-local": "^1.4.5",
"chromedriver": "latest",
"express": "^4.16.4",
"grunt": "^1.3.0",
"grunt-contrib-clean": "^2.0.0",
"grunt-contrib-copy": "^1.0.0",
"grunt-iife": "latest",
"js-combinatorics": "^0.5.5",
"matchdep": "^2.0.0",
"merge": "^2.1.1",
"mocha": "^3.5.3",
"selenium-webdriver": "^3.0.0-beta-3"
},
"scripts": {
"test-local": "forever -a --uid async-test-server start test/server.js && npm run chrome-headless && npm run stop-test",
"test-local2": "npm run chrome-headless && npm run stop-test",
"test": "npm run chrome-headless",
"stop-test": "forever stop test/server.js",
"chrome": "npm run chrome-headless",
"cross-browser": "./node_modules/.bin/mocha test/specs/browserstack-tests.js",
"chrome-headless": "./node_modules/.bin/mocha test/specs/chrome-headless-tests.js",
"iife": "node ./node_modules/@style.tools/async-css-iife/iife-cli.js"
}
}