This repository has been archived by the owner on Jul 17, 2020. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
57 lines (55 loc) · 2.74 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
{
"name": "relays.js",
"version": "0.1.2",
"description": "Asynchronous objects that is a hybrid of observer, emitter and Promise.",
"main": "index.js",
"scripts": {
"linux-mocha": "./node_modules/.bin/mocha -R spec",
"linux-test": "./node_modules/.bin/nyc --reporter=html npm run linux-mocha",
"linux-build-cjs": "./node_modules/.bin/rollup src/index.js --format cjs --name \"Relay\" --file index.js",
"linux-build-browser": "./node_modules/.bin/rollup src/index.js --format iife --name \"Relay\" --file dist/index.js",
"linux-build-minify": "npm run linux-build-browser && ./node_modules/.bin/terser dist/index.js --compress --mangle --output dist/index.min.js",
"linux-build-docs": "./node_modules/.bin/jsdoc -c .jsdoc.json index.js --readme README.md --tutorials ./examples/",
"linux-build": "npm run linux-build-cjs && npm run linux-build-minify && npm run linux-build-docs && npm run linux-test",
"win-mocha": "node node_modules/mocha/bin/mocha -R spec",
"win-test": "node node_modules/nyc/bin/nyc.js --reporter=html npm run win-mocha",
"win-build-cjs": "node node_modules/rollup/bin/rollup src/index.js --format cjs --name \"Relay\" --file index.js",
"win-build-browser": "node node_modules/rollup/bin/rollup src/index.js --format iife --name \"Relay\" --file dist/index.js",
"win-build-minify": "npm run win-build-browser && node node_modules/terser/bin/uglifyjs dist/index.js --compress --mangle --output dist/index.min.js",
"win-build-docs": "node node_modules/jsdoc/jsdoc.js -c .jsdoc.json index.js --readme README.md --tutorials ./examples/",
"win-build": "npm run win-build-cjs && npm run win-build-minify && npm run win-build-docs && npm run win-test",
"test": "npm run linux-test || npm run win-test",
"build-cjs": "npm run linux-build-cjs || npm run win-build-cjs",
"build-browser": "npm run linux-build-browser || npm run win-build-browser",
"build-minify": "npm run linux-build-minify || npm run win-build-minify",
"build-docs": "npm run linux-build-docs || npm run win-build-docs",
"build": "npm run build-cjs && npm run build-minify && npm run build-docs && npm test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/LXSMNSYC/relays.js.git"
},
"keywords": [
"async",
"asynchronous",
"callback",
"observer",
"emitter",
"reactive",
"observable"
],
"author": "LXSMNSYC (alexis.munsayac@gmail.com)",
"license": "MIT",
"bugs": {
"url": "https://github.com/LXSMNSYC/relays.js/issues"
},
"homepage": "https://github.com/LXSMNSYC/relays.js#readme",
"devDependencies": {
"docdash": "^1.0.3",
"jsdoc": "^3.5.5",
"mocha": "^6.0.2",
"nyc": "^13.3.0",
"rollup": "^1.5.0",
"terser": "^3.16.1"
}
}