-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
59 lines (59 loc) · 2.21 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
{
"webpackConfigJaid": "nodeLib",
"version": "1.1.0",
"author": "Jaid <[email protected]> (https://github.com/Jaid)",
"dependencies": {
"json5": "^2.2.0",
"read-file-string": "^1.1.2"
},
"devDependencies": {
"acorn": "^8.2.4",
"babel-jest": "^26.6.3",
"babel-preset-jaid": "^11.0.0",
"browserslist-config-jaid-node": "^3.0.0",
"eslint": "^7.27.0",
"eslint-config-jaid": "^1.49.0",
"jest": "^26.6.3",
"rimraf": "^3.0.2",
"webpack": "^5.37.1",
"webpack-config-jaid": "^12.2.0"
},
"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"
},
"name": "read-file-json",
"description": "Reads JSON and JSON5 from a file. Returns null if file does not exist (or is a directory) instead of throwing an Error.",
"funding": "https://github.com/sponsors/jaid",
"repository": {
"type": "git",
"url": "https://github.com/jaid/read-file-json"
},
"homepage": "https://github.com/Jaid/read-file-json",
"keywords": [
"file",
"filesystem",
"fs",
"json",
"json-parser",
"json5",
"json5-parser",
"lib",
"library",
"load-file",
"loader",
"promise",
"read-file",
"util",
"utility"
]
}