-
Notifications
You must be signed in to change notification settings - Fork 50
/
Copy pathpackage.json
57 lines (57 loc) · 1.83 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": "random-js",
"description": "A mathematically correct random number generator library for JavaScript.",
"version": "2.1.0",
"author": {
"name": "Cameron Kenneth Knight",
"email": "[email protected]"
},
"keywords": [
"random"
],
"homepage": "https://github.com/ckknight/random-js",
"bugs": "https://github.com/ckknight/random-js/issues",
"license": "MIT",
"repository": "git://github.com/ckknight/random-js",
"main": "dist/random-js.umd.js",
"module": "dist/random-js.esm.js",
"unpkg": "dist/random-js.umd.min.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"readmeFilename": "README.md",
"devDependencies": {
"@types/jest": "^24.0.5",
"@types/node": "^11.9.4",
"benchmark": "^2.1.4",
"jest": "^24.1.0",
"prettier": "^1.16.4",
"rimraf": "^2.6.3",
"rollup": "^1.2.1",
"rollup-plugin-typescript": "^1.0.0",
"rollup-plugin-typescript2": "^0.19.2",
"terser": "^3.16.1",
"ts-jest": "^23.10.5",
"tslint": "^5.12.1",
"tslint-config-prettier": "^1.18.0",
"typescript": "^3.3.3"
},
"scripts": {
"clean": "rimraf dist",
"build:umd": "rollup -c rollup.config.es3.js --format umd -o dist/random-js.umd.js --name Random -m",
"build:esm": "rollup -c rollup.config.js --format esm --sourcemap true -o dist/random-js.esm.js",
"prebuild": "yarn clean",
"build": "yarn build:umd && yarn build:esm",
"minify": "terser --source-map content=dist/random-js.umd.js.map --compress --mangle --output dist/random-js.umd.min.js dist/random-js.umd.js",
"postbuild": "yarn minify",
"benchmark": "for k in benchmark/*.js; do node $k; done",
"test": "jest",
"lint": "tslint --project .",
"prepublish": "yarn clean && yarn lint && yarn test && yarn build"
},
"testling": {
"files": "spec/*.js"
},
"sideEffects": false
}