-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
103 lines (103 loc) · 3.81 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
{
"name": "string-literal-list",
"version": "1.31.0",
"description": "an array for string literal",
"main": "stringList.cjs",
"files": [
"stringList.cjs",
"stringList.js",
"stringList.d.ts",
"stringList.min.cjs",
"stringList.min.js",
"strict.cjs",
"strict.js",
"strict.d.ts",
"strict.min.cjs",
"strict.min.js",
"stringListFunction.js",
"stringListFunction.d.ts",
"stringLiteralList.js",
"stringLiteralList.d.ts",
"types/index.d.ts",
"types/list.d.ts",
"types/generic.d.ts",
"types/record.d.ts",
"types/string.d.ts",
"types/tuple.d.ts"
],
"module": "stringList.js",
"browser": {
"./stringList.js": "./stringList.min.js"
},
"types": "stringList.d.ts",
"exports": {
".": {
"types": "./stringList.d.ts",
"require": "./stringList.cjs",
"node": "./stringList.js",
"import": "./stringList.min.js",
"default": "./stringList.js"
},
"./strict.js": {
"types": "./strict.d.ts",
"require": "./strict.cjs",
"node": "./strict.js",
"import": "./strict.min.js",
"default": "./strict.js"
},
"./types.js": {
"default": "./types/index.d.ts"
},
"./stringList.js": {
"types": "./stringList.d.ts",
"require": "./stringList.cjs",
"node": "./stringList.js",
"import": "./stringList.min.js",
"default": "./stringList.js"
}
},
"engines": {
"node": ">=18"
},
"license": "MIT",
"scripts": {
"test": "npm run lint:ci && npm run test:checkJs && npm run test:unit",
"test:unit": "NODE_ENV=test tap run",
"test:checkJs": "./node_modules/.bin/tsc --checkJs --project jsconfig.json",
"prettier": "prettier --write \"**/*.{js,ts}\"",
"lint": "eslint --fix \"./*.js\"",
"lint:ci": "eslint . --ext .js",
"build": "rm -f *.min.* && npm run build:main:cjs && npm run build:main:min && npm run build:main:min:cjs && npm run build:strict:cjs && npm run build:strict:min && npm run build:strict:min:cjs",
"build:strict:min": "esbuild ./strict.js --target=chrome64,edge89,firefox88,safari13,opera76 --bundle --format=esm --minify --outfile=strict.min.js --keep-names --legal-comments=inline",
"build:strict:min:cjs": "esbuild ./strict.js --target=chrome64,edge89,firefox88,safari13,opera76 --bundle --format=cjs --minify --outfile=strict.min.cjs --keep-names --legal-comments=inline",
"build:strict:cjs": "esbuild ./strict.js --bundle --format=cjs --outfile=strict.cjs --target=node18 --minify --keep-names --legal-comments=inline",
"build:main:min": "esbuild ./stringList.js --target=chrome64,edge89,firefox88,safari13,opera76 --bundle --format=esm --minify --outfile=stringList.min.js --keep-names --legal-comments=inline",
"build:main:min:cjs": "esbuild ./stringList.js --target=chrome64,edge89,firefox88,safari13,opera76 --bundle --format=cjs --minify --outfile=stringList.min.cjs --keep-names --legal-comments=inline",
"build:main:cjs": "esbuild ./stringList.js --bundle --format=cjs --outfile=stringList.cjs --target=node18 --minify --keep-names --legal-comments=inline",
"prepare": "husky"
},
"author": "Vincent Baronnet",
"type": "module",
"repository": {
"type": "git",
"url": "https://github.com/rawpixel-vincent/string-literal-list.git"
},
"devDependencies": {
"@types/node": "latest",
"@typescript-eslint/eslint-plugin": "latest",
"@typescript-eslint/parser": "latest",
"@typescript-eslint/typescript-estree": "latest",
"core-js": "latest",
"esbuild": "latest",
"esbuild-plugin-swc": "latest",
"eslint": "latest",
"eslint-config-prettier": "latest",
"eslint-config-standard": "latest",
"eslint-plugin-import": "latest",
"eslint-plugin-prettier": "latest",
"husky": "latest",
"prettier": "latest",
"tap": "latest",
"typescript": "latest"
}
}