/
package.json
47 lines (47 loc) · 1.56 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
{
"name": "go-random",
"description": "Random value generation utilities",
"author": "Michael Ko",
"email": "koyote130708@gmail.com",
"version": "1.0.3",
"license": "GNU LGPLv3",
"keywords": [
"random",
"random number",
"random integer",
"random int",
"random float",
"random string",
"random boolean",
"random pick",
"random index",
"random value",
"random generation"
],
"homepage": "https://github.com/koyote130708/go-random",
"repository": {
"type": "git",
"url": "https://github.com/koyote130708/go-random.git"
},
"main": "index.js",
"module": "es/index.js",
"scripts": {
"build": "npm run bundle & npm run minify",
"bundle": "webpack build --mode=none --progress --entry ./index.js -o ./dist --output-filename go-random.js --output-library-name=Random --output-library-type=umd --output-global-object=this",
"minify": "uglifyjs ./dist/go-random.js -c -m --source-map -o ./dist/go-random.min.js",
"test": "mocha -u tdd test/*.js",
"coverage": "c8 --clean npm run test",
"docs": "documentation readme index.js --section=Documentation",
"docs:html": "documentation build index.js -f html -o docs"
},
"devDependencies": {
"c8": "^7.12.0",
"chai": "^4.3.6",
"documentation": "^14.0.0",
"mocha": "^10.0.0",
"uglify-js": "^3.17.3",
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0"
},
"engine": "node >= 0.10.0"
}