-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
54 lines (54 loc) · 2.09 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
{
"name": "readable-ms",
"webpackConfigJaid": "universalLib",
"description": "Converts a milliseconds value into a human-readable string.",
"version": "3.0.0",
"author": "Jaid <jaid.jsx@gmail.com> (https://github.com/Jaid)",
"dependencies": {
"humanize-duration": "^3.27.2"
},
"devDependencies": {
"babel-jest": "^28.1.1",
"babel-preset-jaid": "^14.0.0",
"browserslist-config-jaid-universal": "^3.0.0",
"eslint": "^8.17.0",
"eslint-config-jaid": "^1.62.0",
"jest": "^28.1.1",
"rimraf": "^3.0.2",
"tsconfig-jaid": "^2.1.1",
"webpack": "^5.73.0",
"webpack-config-jaid": "^17.0.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"
},
"funding": "https://github.com/sponsors/jaid",
"repository": {
"type": "git",
"url": "https://github.com/jaid/readable-ms"
},
"homepage": "https://github.com/Jaid/readable-ms",
"keywords": [
"convert",
"humanize",
"lib",
"library",
"milliseconds",
"ms",
"string",
"stringify",
"util",
"utility"
],
"type": "module"
}