-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
76 lines (76 loc) · 1.75 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
{
"name": "nama-gadungan",
"version": "1.0.1",
"description": "Pustaka kecil yang dapat membantu kamu mendapatkan nama acak",
"main": "dist/index.js",
"scripts": {
"lint": "eslint src/*.js",
"lint:fix": "eslint src/*.js --fix",
"format": "prettier src/*.js --write",
"test": "jest --coverage",
"test:watch": "jest --watch",
"prebuild": "rimraf dist",
"build:node": "babel src --out-dir dist --ignore src/**/*.test.js --copy-files",
"build:browser": "rollup -c",
"build": "npm run build:node && npm run build:browser",
"report-cov": "cat ./coverage/lcov.info | codecov"
},
"keywords": [
"faker",
"seeder"
],
"author": "Riza Fahmi",
"license": "MIT",
"devDependencies": {
"@babel/cli": "^7.11.6",
"@babel/core": "^7.11.6",
"@babel/preset-env": "^7.11.5",
"@rollup/plugin-babel": "^5.2.1",
"@rollup/plugin-commonjs": "^15.0.0",
"@rollup/plugin-json": "^4.1.0",
"codecov": "^3.7.2",
"eslint": "^7.8.1",
"eslint-plugin-jest": "^24.0.1",
"husky": "^4.3.0",
"jest-cli": "^26.4.2",
"lint-staged": "^10.3.0",
"prettier": "^2.1.1",
"rimraf": "^3.0.2",
"rollup": "^2.27.1"
},
"jest": {
"testEnvironment": "node",
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
},
"coveragePathIgnorePatterns": [
"/node_modules/",
"/dist/"
],
"testPathIgnorePatterns": [
"/node_modules/",
"/dist/"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"npm run lint:fix",
"npm run format",
"npm test",
"git add"
]
},
"files": [
"dist"
]
}