-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
56 lines (56 loc) · 2.2 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
{
"name": "read-file-string",
"version": "1.1.2",
"type": "module",
"description": "Returns file content as a UTF-8 string. Returns null if file does not exist (or is a directory) instead of throwing an Error.",
"keywords": [
"file",
"filesystem",
"lib",
"library",
"load-file",
"loader",
"promise",
"read-file",
"string",
"util",
"utility"
],
"author": "Jaid <[email protected]> (https://github.com/Jaid)",
"homepage": "https://github.com/Jaid/read-file-string",
"funding": "https://github.com/sponsors/jaid",
"repository": {
"type": "git",
"url": "https://github.com/jaid/read-file-string"
},
"scripts": {
"clean": "rimraf dist/",
"babel:prod": "rimraf dist/transpiled/production && NODE_ENV=production babel --out-dir dist/transpiled/production --source-maps true src",
"babel:dev": "rimraf dist/transpiled/development && NODE_ENV=development babel --out-dir dist/transpiled/development src",
"babel:test": "rimraf dist/transpiled/test && NODE_ENV=test babel --out-dir dist/transpiled/test src",
"build:prod": "NODE_ENV=production webpack",
"build:dev": "NODE_ENV=development webpack",
"test": "npm run build:prod && NODE_ENV=production MAIN=$(npx find-by-extension-cli js --fullPath --cwd dist/package/production) jest --runInBand",
"test:coverage": "npm run test:dev -- --coverage --json --outputFile=dist/jest/stats.json",
"test:dev": "npm run build:dev && NODE_ENV=test MAIN=$(npx find-by-extension-cli js --fullPath --cwd dist/package/development) jest --runInBand",
"test:debug": "DEBUG=\"$DEBUG,$(basename $PWD),$(basename $PWD):*\" NODE_ENV=test node --inspect=9229 node_modules/jest/bin/jest.js --runInBand",
"prepareActionJest": "npm run build:prod"
},
"dependencies": {
"forward-slash-path": "^0.3.0",
"fs-extra": "^11.2.0"
},
"devDependencies": {
"@types/node": "^20.12.4",
"browserslist-config-jaid-node": "^3.0.0",
"eslint": "^8.57.0",
"eslint-config-jaid": "^8.24.0",
"rollup-config-factory": "^0.3.0",
"tsconfig-jaid-node": "^8.1.0",
"tsx": "^4.7.1",
"typescript": "^5.4.3",
"wireit": "^0.14.4",
"zeug": "^0.4.0"
},
"webpackConfigJaid": "nodeLib"
}