-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
63 lines (63 loc) · 2.07 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
{
"author": "Jimmy Cuadra <jimmy@jimmycuadra.com>",
"name": "shellwords",
"description": "Manipulate strings according to the word parsing rules of the UNIX Bourne shell.",
"version": "1.0.1",
"homepage": "https://github.com/jimmycuadra/shellwords",
"repository": {
"type": "git",
"url": "git://github.com/jimmycuadra/shellwords.git"
},
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"browser": "dist/browser/index.js",
"types": "dist/shellwords.d.ts",
"files": [
"dist",
"src"
],
"keywords": [
"shellwords",
"shell",
"unix",
"bourne",
"bash",
"command line",
"ruby",
"stdlib"
],
"scripts": {
"browser": "serve -l 3000",
"build": "rm -rf dist && pnpm run build:browser && pnpm run build:cjs && pnpm run build:esm && pnpm run tsc:build",
"build:browser": "esbuild --bundle src/shellwords.ts --outfile=dist/browser/index.js --sourcemap --sources-content=false --format=iife --global-name=shellwords",
"build:cjs": "esbuild --bundle src/shellwords.ts --outfile=dist/cjs/index.js --sourcemap --sources-content=false --format=cjs",
"build:esm": "esbuild --bundle src/shellwords.ts --outfile=dist/esm/index.js --sourcemap --sources-content=false --format=esm",
"eslint": "eslint --max-warnings 0 src",
"prebrowser": "pnpm run build",
"prepack": "pnpm run build",
"prepare": "husky install",
"prepublish": "pnpm run build",
"prettier": "prettier --write src",
"test": "jest",
"tsc:build": "tsc -p tsconfig.build.json"
},
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.19.3",
"@babel/preset-env": "^7.19.4",
"@babel/preset-typescript": "^7.18.6",
"@types/jest": "^27.5.2",
"@typescript-eslint/eslint-plugin": "^5.40.0",
"@typescript-eslint/parser": "^5.40.0",
"babel-jest": "^27.5.1",
"esbuild": "^0.14.54",
"eslint": "^8.25.0",
"eslint-config-prettier": "^8.5.0",
"husky": "^8.0.1",
"jest": "^27.5.1",
"lint-staged": "^13.0.3",
"prettier": "^2.7.1",
"serve": "^13.0.4",
"typescript": "^4.8.4"
}
}