-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
61 lines (61 loc) · 1.51 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
{
"name": "hook-factory",
"version": "1.1.0",
"description": "pre and post hook factory",
"main": "dist/hookFactory.cjs.js",
"repository": "[email protected]:azz0r/hook-factory.git",
"author": "azz0r <[email protected]>",
"license": "MIT",
"devDependencies": {
"@babel/preset-env": "^7.0.0-beta.3",
"assert": "^1.4.1",
"babel-core": "^6.26.3",
"babel-jest": "^23.0.1",
"benchmark": "^2.1.4",
"coveralls": "^3.1.0",
"jest": "^26.0.1",
"jest-cli": "^26.0.1",
"pre-push": "^0.1.1",
"regenerator-runtime": "^0.11.1",
"rollup": "^0.60.7",
"rollup-plugin-babel": "^3.0.4",
"rollup-plugin-commonjs": "^9.1.3",
"rollup-plugin-node-resolve": "^3.3.0",
"rollup-plugin-peer-deps-external": "^2.1.1"
},
"scripts": {
"build": "BABEL_ENV=production rollup -c",
"dev": "BABEL_ENV=development rollup -c -w",
"pretest": "npm run build",
"test": "BABEL_ENV=test jest",
"test:watch": "BABLE_ENV=test jest --watch",
"test:cov": "BABEL_ENV=test jest --coverage"
},
"module": "dist/hookFactory.esm.js",
"browser": "dist/hookFactory.umd.js",
"files": [
"dist"
],
"jest": {
"testMatch": [
"<rootDir>/__test__/*.spec.js"
],
"collectCoverageFrom": [
"src/**/*.js"
],
"coverageDirectory": "coverage",
"coverageReporters": [
"html",
"lcov"
],
"transform": {
"^.+\\.js$": "babel-jest"
}
},
"dependencies": {
"weighted": "^0.3.0"
},
"pre-push": [
"test"
]
}