-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
130 lines (130 loc) · 4.59 KB
/
package.json
File metadata and controls
130 lines (130 loc) · 4.59 KB
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
{
"name": "@vicgutt/strjs",
"version": "0.1.6",
"description": "A set of JavaScript string helpers",
"author": "Victor GUTT <guttvictor@yahoo.fr> (https://victorgutt.dev)",
"license": "MIT",
"keywords": [
"helpers",
"utilities",
"string"
],
"type": "module",
"main": "./dist/_strjs.umd.cjs",
"module": "./dist/_strjs.es.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/_strjs.es.js",
"require": "./dist/_strjs.umd.cjs"
},
"./*": {
"import": "./dist/*.js"
}
},
"files": [
"dist",
"src"
],
"engines": {
"node": ">=18"
},
"scripts": {
"dev": "vite",
"watch": "npm run dev",
"preview": "vite preview",
"types": "tsc --emitDeclarationOnly",
"prod": "vite build && npm run types",
"build": "npm run prod",
"------------------------------------- | AUTO | -------------------------------------": "",
"prepare": "npm run prod",
"postinstall": "npm run init",
"prepublishOnly": "pinst --disable",
"postpublish": "pinst --enable",
"------------------------------------- | INIT | -------------------------------------": "",
"init": "npm run init:husky",
"init:husky": "husky install",
"------------------------------------- | TEST | -------------------------------------": "",
"test": "vitest run",
"test:watch": "vitest watch",
"test:coverage": "vitest run --coverage",
"test:watch:index": "vitest watch --testNamePattern=index",
"test:watch:_": "vitest watch --testNamePattern=_",
"test:watch:str": "vitest watch --testNamePattern=^str/",
"test:watch:utils": "vitest watch --testNamePattern=^utils/",
"test:watch:stringable": "vitest watch --testNamePattern=Stringable",
"test:watch:[filtered]": "vitest watch --testNamePattern=str/strRandom",
"------------------------------------- | LINT | -------------------------------------": "",
"lint": "eslint . --max-warnings=0",
"lint:src": "eslint ./src --max-warnings=0",
"lint:tests": "eslint ./tests --max-warnings=0",
"fix": "eslint . --max-warnings=0 --fix",
"fix:src": "eslint ./src --max-warnings=0 --fix",
"fix:tests": "eslint ./tests --max-warnings=0 --fix",
"------------------------------------- | CUTE | -------------------------------------": "",
"format": "prettier **/*.{ts,js,json,html,yml,md,css,php,vue} -l",
"format:fix": "prettier **/*.{ts,js,json,html,yml,md,css,php,vue} --write",
"------------------------------------- | PUBL | -------------------------------------": "",
"release": "np",
"release:preview": "np --preview",
"------------------------------------- | MISC | -------------------------------------": "",
"size": "npm run prod && size-limit",
"analyze": "npm run prod && size-limit --why"
},
"devDependencies": {
"@commitlint/cli": "^17.3.0",
"@commitlint/config-conventional": "^17.3.0",
"@size-limit/preset-small-lib": "^8.1.0",
"@types/node": "^18.11.9",
"@typescript-eslint/eslint-plugin": "^5.44.0",
"@typescript-eslint/parser": "^5.44.0",
"c8": "^7.12.0",
"eslint": "^8.29.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-jsonc": "^2.5.0",
"eslint-plugin-n": "^15.5.1",
"eslint-plugin-prettier": "^4.2.1",
"hoax.js": "^1.0.1",
"husky": "^8.0.2",
"jsdoc-to-markdown": "^7.1.1",
"jsdom": "^20.0.3",
"lint-staged": "^13.0.4",
"np": "^7.6.2",
"pinst": "^3.0.0",
"prettier": "^2.8.0",
"size-limit": "^8.1.0",
"tslib": "^2.4.1",
"typescript": "^4.9.3",
"vite": "^3.2.4",
"vitest": "^0.21.1"
},
"homepage": "https://github.com/VicGUTT/strjs#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/VicGUTT/strjs.git"
},
"bugs": {
"url": "https://github.com/VicGUTT/strjs/issues"
},
"size-limit": [
{
"path": "dist/_strjs.es.js",
"limit": "5 KB"
},
{
"path": "dist/_strjs.umd.cjs",
"limit": "5 KB"
},
{
"path": "dist/**/*.js",
"limit": "25 KB"
}
],
"np": {
"yarn": false
},
"publishConfig": {
"access": "public"
}
}