-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
118 lines (118 loc) · 3.64 KB
/
Copy pathpackage.json
File metadata and controls
118 lines (118 loc) · 3.64 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
{
"name": "kebab-to-camel",
"author": "stagas",
"short": "stagas/kebab-to-camel",
"description": "convert kebab-case to camelCase",
"version": "1.0.1",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://git@github.com:stagas/kebab-to-camel.git"
},
"keywords": [
"convert",
"change",
"transform",
"kebab",
"kebabcase",
"kebab-case",
"camel",
"camelcase",
"camel-case",
"case",
"string"
],
"module": "dist/esm/index.js",
"main": "dist/cjs/index.js",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
}
},
"targets": {
"main": {
"context": "node",
"engines": {
"node": ">=16.0"
}
}
},
"files": [
"dist"
],
"scripts": {
"build": "npm run build:cjs && npm run build:esm && echo done.",
"docs": "documentation readme src --resolve=node --pe ts --re ts --re d.ts --github --section=API --markdown-toc-max-depth=3",
"test": "npm run test:node && npm run test:web",
"cov": "jest --coverage",
"bench": "ts-node benchmark/index.ts",
"bench:fast": "ts-node benchmark/index.ts .1",
"bench:slow": "ts-node benchmark/index.ts 4",
"lint": "eslint src && prettier --check src",
"test:watch": "jest --watchAll",
"cov:watch": "jest --coverage --watchAll",
"docs:watch": "onchange -i src --await-write-finish 400 -- npm run docs",
"bench:watch": "onchange -i src 'benchmark/**/*.{js,jsx,ts,tsx}' --await-write-finish 400 -- node -r @swc-node/register benchmark/index.ts",
"build:cjs": "tsc --outDir dist/cjs",
"build:esm": "tsc --outDir dist/esm --module esnext && echo '{\"type\":\"module\"}' >dist/esm/package.json",
"lint:fix": "eslint --fix src && prettier --write src",
"fmt": "prettier --write src",
"clean": "rimraf dist",
"prepack": "npm run clean && npm run build",
"prepack:dry": "npm pack --dry-run",
"prepare": "husky install && node .pull-configs.js",
"build:watch": "tsc --outDir dist/esm --module esnext --watch & tsc --outDir dist/cjs --watch",
"test:node": "jest",
"test:web": "web-test-runner",
"prepush": "npm run lint && npm run test"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint"
}
},
"devDependencies": {
"@common-utilities/kebab-to-camel-string": "^0.1.3",
"@n1kk/intspector": "^1.0.2",
"@rollup/plugin-commonjs": "^21.0.1",
"@stagas/documentation-fork": "^13.2.5",
"@stagas/sucrase-jest-plugin": "^2.2.0-fork",
"@swc-node/jest": "^1.4.3",
"@swc-node/register": "^1.3.7",
"@tsconfig/node16": "^1.0.2",
"@types/jest": "^27.4.0",
"@types/node": "^17.0.10",
"@typescript-eslint/eslint-plugin": "^5.10.0",
"@typescript-eslint/parser": "^5.10.0",
"@web/dev-server-esbuild": "^0.2.16",
"@web/dev-server-rollup": "^0.3.14",
"@web/test-runner": "^0.13.25",
"benny": "^3.7.1",
"benny-ascii-chart-reporter": "^1.0.1",
"case-anything": "^1.1.3",
"change-case": "^4.1.2",
"chartscii": "^1.3.2",
"documentation": "^13.2.5",
"esbuild": "^0.14.12",
"esbuild-register": "^3.3.2",
"eslint": "^8.7.0",
"eslint-config-html-jsx": "^1.0.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^7.0.4",
"jest": "^27.4.7",
"jest-browser-globals": "^25.1.0-beta",
"onchange": "^7.1.0",
"prettier": "^2.5.1",
"pull-configs": "^0.1.1",
"rimraf": "^3.0.2",
"sucrase": "^3.20.3",
"terser": "^5.10.0",
"ts-jest": "^27.1.3",
"ts-node": "^10.4.0",
"typescript": "^4.5.5",
"vite-open": "^1.1.0"
}
}