-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
142 lines (142 loc) · 4.91 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
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
131
132
133
134
135
136
137
138
139
140
141
142
{
"name": "@flemist/string-utils",
"version": "1.0.0",
"description": "String utils",
"main": "dist/lib/node/index.cjs",
"module": "dist/lib/node/index.mjs",
"types": "dist/lib/node/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"types": "./dist/lib/node/index.d.ts",
"import": "./dist/lib/node/index.mjs",
"require": "./dist/lib/node/index.cjs",
"browser": {
"types": "./dist/lib/browser/index.d.ts",
"import": "./dist/lib/browser/index.mjs",
"require": "./dist/lib/browser/index.cjs"
},
"node": {
"types": "./dist/lib/node/index.d.ts",
"import": "./dist/lib/node/index.mjs",
"require": "./dist/lib/node/index.cjs"
}
},
"./browser": {
"types": "./dist/lib/browser/index.d.ts",
"import": "./dist/lib/browser/index.mjs",
"require": "./dist/lib/browser/index.cjs"
},
"./node": {
"types": "./dist/lib/node/index.d.ts",
"import": "./dist/lib/node/index.mjs",
"require": "./dist/lib/node/index.cjs"
}
},
"typesVersions": {
"*": {
"browser": [
"./dist/lib/browser/index.d.ts"
],
"node": [
"./dist/lib/node/index.d.ts"
],
"register": [
"./dist/lib/node/register/register.d.ts"
]
}
},
"engines": {
"node": ">= 14.17",
"pnpm": ">= 7.1.6"
},
"repository": {
"type": "git",
"url": "git+https://github.com/NikolayMakhonin/string-utils.git"
},
"keywords": [],
"author": {
"name": "Nikolay Makhonin",
"url": "https://github.com/NikolayMakhonin/"
},
"license": "Unlimited Free",
"bugs": {
"url": "https://github.com/NikolayMakhonin/string-utils/issues"
},
"homepage": "https://github.com/NikolayMakhonin/string-utils",
"publishConfig": {
"access": "public"
},
"scripts": {
"prepublishOnly": "pnpm run audit && pnpm run lint && pnpm run build && pnpm run test:mocha:ci && pnpm run test:karma",
"audit": "pnpm audit --prod",
"lint": "eslint ./**/*.{js,cjs,mjs,ts,tsx}",
"lint:fix": "eslint --fix ./**/*.{js,cjs,mjs,ts,tsx}",
"lint:wizard": "eslint-nibble --cache --multi ./**/*.{js,cjs,mjs,ts,tsx}",
"build:js": "rollup -c",
"build": "rimraf dist && pnpm run build:js",
"coverage:merge": "rimraf tmp/coverage/{all,merge} && cp-flat \"tmp/coverage/*/json/**/*.json\" \"tmp/coverage/merge\" && nyc report -r lcov --report-dir tmp/coverage/all/lcov --temp-dir \"tmp/coverage/merge/\"",
"coverage:check": "pnpm run coverage:merge && nyc check-coverage --report-dir tmp/coverage/all/lcov --lines 50 --functions 50 --branches 50 --statements 50",
"test:mocha": "mocha ./src/**/*.test.*",
"test:mocha:coverage": "rimraf tmp/coverage/mocha && nyc --all mocha ./src/**/*.test.*",
"test:mocha:watch": "mocha --watch ./src/**/*.test.*",
"test:karma": "rimraf tmp/coverage/karma && karma start --single-run --log-level debug",
"test:mocha:ci": "rimraf tmp/coverage/mocha && nyc --all mocha ./{src,dist/lib}/**/*.test.*",
"coveralls": "pnpm run coverage:check && nyc report --reporter=text-lcov --temp-dir \"tmp/coverage/merge/\" | coveralls"
},
"devDependencies": {
"@babel/core": "7.21.4",
"@babel/plugin-syntax-dynamic-import": "7.8.3",
"@babel/plugin-transform-classes": "7.21.0",
"@babel/plugin-transform-runtime": "7.21.4",
"@babel/preset-env": "7.21.4",
"@babel/runtime-corejs3": "7.21.0",
"@flemist/copy-glob-flat": "0.0.5",
"@flemist/karma-custom-launcher": "0.0.0",
"@flemist/test-utils": "0.1.4",
"@flemist/test-variants": "0.0.16",
"@rollup/plugin-alias": "4.0.3",
"@rollup/plugin-babel": "6.0.3",
"@rollup/plugin-commonjs": "=21.1.0",
"@rollup/plugin-inject": "5.0.3",
"@rollup/plugin-json": "6.0.0",
"@rollup/plugin-multi-entry": "6.0.0",
"@rollup/plugin-node-resolve": "=13.3.0",
"@rollup/plugin-replace": "5.0.2",
"@rollup/plugin-typescript": "11.0.0",
"@rollup/pluginutils": "5.0.2",
"@types/assert": "1.5.6",
"@types/mocha": "10.0.1",
"@types/node": "18.15.11",
"@zerollup/ts-transform-paths": "1.7.18",
"eslint": "=8.22.0",
"eslint-config-pro": "3.0.18",
"expect": "29.5.0",
"globby": "=11.1.0",
"karma": "6.4.1",
"karma-chrome-launcher": "3.1.1",
"karma-coverage": "2.2.0",
"karma-firefox-launcher": "2.1.2",
"karma-mocha": "2.0.1",
"karma-safari-launcher": "1.0.0",
"mocha": "=9.2.2",
"nyc": "15.1.0",
"rimraf": "4.4.1",
"rollup": "=2.79.1",
"rollup-plugin-cpy": "2.0.1",
"rollup-plugin-delete": "2.0.0",
"rollup-plugin-istanbul": "4.0.0",
"rollup-plugin-multi-input": "1.4.1",
"rollup-plugin-node-polyfills": "0.2.1",
"rollup-plugin-terser": "7.0.2",
"ts-node": "=10.8.0",
"tsconfig-paths": "4.2.0",
"typescript": "=4.7.4"
},
"dependencies": {
"css-select": "5.1.0",
"domhandler": "5.0.3",
"domutils": "3.1.0",
"tslib": "^2.5.0"
}
}