-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
executable file
·38 lines (38 loc) · 1.38 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
{
"name": "common-denominators",
"version": "1.0.6",
"author": "Emett Speer, Eric Lakatos, twitch.tv/codephobia",
"license": "MIT",
"description": "A JS function that takes any number of arguments and returns an array of all the common denominators of any numbers supplied.",
"repository": {
"type": "git",
"url": "https://github.com/staghouse/common-denominators"
},
"keywords": [
"common denominators"
],
"main": "dist/index.min.js",
"scripts": {
"build:source": "uglifyjs src/index.js -cmo src/index.min.js",
"build:control": "uglifyjs test/benchmark/control/index.js -cmo test/benchmark/control/index.min.js",
"build:dist": "uglifyjs src/index.js -b indent_level=2 -o dist/index.js && uglifyjs src/index.js -cmo dist/index.min.js",
"benchmark": "node test/benchmark/benchmark.js",
"validate": "npm run build:source && npm run test && npm run benchmark",
"test": "jest --coverage --coverageDirectory='__coverage__'",
"test:source": "jest test/unit/index.source.test.js --coverage --coverageDirectory='__coverage__'",
"test:watch": "jest --watch --coverage --coverageDirectory='__coverage__'"
},
"devDependencies": {
"benchmark": "^2.1.4",
"chalk": "^4.0.0",
"codecov": "^3.6.5",
"husky": "^4.2.3",
"jest": "^25.2.6",
"uglify-es": "^3.3.9"
},
"husky": {
"hooks": {
"pre-commit": "npm run test"
}
}
}