-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
102 lines (102 loc) · 2.61 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{
"name": "replace-in-files",
"version": "3.0.0",
"engines": {
"node": ">=12.0.0"
},
"author": {
"name": "Dmitrii Salnikov",
"email": "[email protected]",
"url": "https://github.com/wj42ftns"
},
"license": "MIT",
"description": "Replace text in one or more files or globs. Works asynchronously with promises.",
"main": "index.js",
"homepage": "https://github.com/wj42ftns/replace-in-files",
"repository": {
"type": "git",
"url": "https://github.com/wj42ftns/replace-in-files"
},
"bugs": {
"url": "https://github.com/wj42ftns/replace-in-files/issues",
"email": "[email protected]"
},
"keywords": [
"text",
"texts",
"replace",
"replaces",
"replacement",
"replacements",
"content",
"contents",
"file",
"files",
"fs"
],
"scripts": {
"watch": "./node_modules/jest/bin/jest.js --watch --no-cache",
"test": "./node_modules/jest/bin/jest.js",
"test-debug": "node --inspect-brk ./node_modules/jest/bin/jest -i --env jest-environment-node-debug",
"coveralls": "npm run test && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage",
"eslint": "rm -rf ./coverage && node ./node_modules/eslint/bin/eslint.js --quiet \"**/*.js\"",
"precommit": "npm run message && rm -rf ./coverage && npm run lint-staged && npm run test",
"message": "echo \"will be lint staged .js files and run tests\" && exit 0",
"lint-staged": "lint-staged"
},
"lint-staged": {
"*.js": [
"eslint --fix",
"git add"
]
},
"devDependencies": {
"coveralls": "^3.1.0",
"eslint": "^7.9.0",
"eslint-config-airbnb-base": "^14.2.0",
"eslint-plugin-import": "^2.22.0",
"fs-extra": "^9.0.1",
"husky": "^4.3.0",
"jest": "^26.4.2",
"jest-environment-node-debug": "^2.0.0",
"lint-staged": "^10.4.0",
"mockdate": "^3.0.2"
},
"dependencies": {
"co": "^4.6.0",
"es6-promisify": "^6.1.1",
"globby": "^11.0.1",
"is-binary": "^0.1.0",
"lodash": "^4.17.20"
},
"jest": {
"testURL": "http://localhost/",
"testEnvironment": "node",
"collectCoverage": true,
"collectCoverageFrom": [
"lib/**/*.js"
],
"clearMocks": true,
"resetModules": true,
"resetMocks": true,
"verbose": false,
"automock": false,
"moduleFileExtensions": [
"js",
"json"
],
"roots": [
"<rootDir>"
],
"modulePaths": [
"<rootDir>"
],
"testPathIgnorePatterns": [
"<rootDir>/node_modules/",
"<rootDir>/.history/"
],
"setupFilesAfterEnv": [
"<rootDir>/setupJest.js"
]
}
}