1 | {
|
2 | "author": "Jimmy Cuadra <jimmy@jimmycuadra.com>",
|
3 | "name": "shellwords",
|
4 | "description": "Manipulate strings according to the word parsing rules of the UNIX Bourne shell.",
|
5 | "version": "1.0.0",
|
6 | "homepage": "https://github.com/jimmycuadra/shellwords",
|
7 | "repository": {
|
8 | "type": "git",
|
9 | "url": "git://github.com/jimmycuadra/shellwords.git"
|
10 | },
|
11 | "main": "dist/cjs/index.js",
|
12 | "module": "dist/esm/index.js",
|
13 | "browser": "dist/browser/index.js",
|
14 | "types": "dist/shellwords.d.ts",
|
15 | "files": [
|
16 | "dist",
|
17 | "src"
|
18 | ],
|
19 | "scripts": {
|
20 | "browser": "serve -l 3000",
|
21 | "build": "rm -rf dist && yarn run build:browser && yarn run build:cjs && yarn run build:esm && yarn run tsc:build",
|
22 | "build:browser": "esbuild --bundle src/shellwords.ts --outfile=dist/browser/index.js --sourcemap --sources-content=false --format=iife --global-name=shellwords",
|
23 | "build:cjs": "esbuild --bundle src/shellwords.ts --outfile=dist/cjs/index.js --sourcemap --sources-content=false --format=cjs",
|
24 | "build:esm": "esbuild --bundle src/shellwords.ts --outfile=dist/esm/index.js --sourcemap --sources-content=false --format=esm",
|
25 | "prebrowser": "yarn run build",
|
26 | "prepack": "yarn run build",
|
27 | "prepublish": "yarn run build",
|
28 | "test": "jest",
|
29 | "tsc:build": "tsc -p tsconfig.build.json"
|
30 | },
|
31 | "license": "MIT",
|
32 | "dependencies": {},
|
33 | "devDependencies": {
|
34 | "@babel/core": "^7.16.12",
|
35 | "@babel/preset-env": "^7.16.11",
|
36 | "@babel/preset-typescript": "^7.16.7",
|
37 | "@types/jest": "^27.4.0",
|
38 | "babel-jest": "^27.4.6",
|
39 | "esbuild": "^0.14.14",
|
40 | "jest": "^27.4.7",
|
41 | "serve": "^13.0.2",
|
42 | "typescript": "^4.5.5"
|
43 | }
|
44 | }
|