-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
64 lines (64 loc) · 2.12 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
{
"name": "@newdash/newdash",
"description": "javascript/typescript utility library",
"version": "5.22.1",
"license": "MIT",
"main": "./dist/node/index",
"engines": {
"node": ">=16.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/newdash/newdash"
},
"contributors": [
{
"name": "Theo Sun",
"email": "theo.sun@outlook.com",
"url": "https://github.com/Soontao"
},
{
"name": "Lodash Contributors",
"url": "https://github.com/lodash/lodash"
}
],
"scripts": {
"test": "jest --bail",
"pretest:deno": "npm run build:deno:test",
"test:deno": "deno test -r ./dist/deno/test/",
"lint": "tsc --noEmit && eslint .",
"coverage": "npm test -- --coverage --no-cache --runInBand",
"build:deno": "babel --out-dir dist/deno --extensions .js,.ts --keep-file-extension src",
"prebuild:deno:test": "npm run build:deno",
"build:deno:test": "babel --out-dir dist/deno/test --extensions .js,.ts --keep-file-extension test",
"build:node": "tsc --build tsconfig.json",
"build:es6": "tsc --build tsconfig.es6.json",
"build:es5": "tsc --build tsconfig.es5.json",
"build:umd": "npx esbuild src/index.ts --bundle --minify --target=es6 --global-name=_ --outfile=./dist/umd/newdash.js",
"build": "npm run build:node && npm run build:es5 && npm run build:es6 && npm run build:umd && npm run build:deno && npm run gen:package",
"gen:package": "node scripts/copy-package-json.js",
"prepublishOnly": "npm run build",
"release": "npx standard-version --no-verify && git push --follow-tags origin main"
},
"devDependencies": {
"@babel/cli": "7.24.7",
"@babel/core": "7.24.7",
"@babel/plugin-syntax-typescript": "7.24.7",
"@types/jest": "29.5.12",
"@types/node": "20.14.2",
"@typescript-eslint/eslint-plugin": "7.12.0",
"@typescript-eslint/parser": "7.12.0",
"colors": "1.4.0",
"eslint": "8.57.0",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"ts-jest": "29.1.4",
"typescript": "5.4.5"
},
"keywords": [
"javascript",
"typescript",
"lodash",
"utilities"
]
}