-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
91 lines (91 loc) · 2.56 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
{
"name": "cnbuilder",
"description": "Yet another classname string builder (the fastest one)",
"version": "3.1.0",
"files": [
"cjs",
"esm",
"esnext"
],
"main": "cjs/index.js",
"esnext": "esnext/index.js",
"types": "cjs/index.d.ts",
"module": "esm/index.js",
"sideEffects": false,
"keywords": [
"classname",
"class",
"classlist",
"builder",
"attr",
"attribute",
"concat"
],
"funding": {
"type": "patreon",
"url": "https://www.patreon.com/xobotyi"
},
"repository": {
"type": "git",
"url": "https://github.com/xobotyi/cnbuilder.git"
},
"bugs": {
"url": "https://github.com/xobotyi/cnbuilder/issues"
},
"homepage": "https://github.com/xobotyi/cnbuilder",
"author": "Anton Zinovyev",
"license": "MIT",
"dependencies": {},
"devDependencies": {
"@jamesacarr/eslint-formatter-github-actions": "^0.2.0",
"@jamesacarr/jest-reporter-github-actions": "^0.0.4",
"@semantic-release/changelog": "^6.0.0",
"@semantic-release/git": "^10.0.0",
"@semantic-release/npm": "^9.0.0",
"@types/jest": "^27.0.0",
"@xobotyi/eslint-config": "^2.3.0",
"@xobotyi/preset-typescript": "^1.0.0",
"concurrently": "^8.0.1",
"eslint": "^8.5.0",
"husky": "7.0.4",
"jest": "^27.0.6",
"lint-staged": "^13.0.0",
"prettier": "^2.0.5",
"rimraf": "^5.0.0",
"semantic-release": "^19.0.2",
"ts-jest": "^27.0.3",
"ts-node": "^10.1.0",
"ttypescript": "^1.5.12",
"typescript": "^4.0.2"
},
"scripts": {
"prepare": "husky install",
"build": "yarn build:cleanup && concurrently yarn:build:cjs yarn:build:esm yarn:build:esnext --kill-others-on-fail",
"build:cleanup": "rimraf ./cjs ./esm ./esnext ./types",
"build:cjs": "ttsc -p ./tsconfig.build.json --module CommonJS --target ES5 --outDir ./cjs",
"build:esm": "ttsc -p ./tsconfig.build.json --module ES6 --target ES5 --outDir ./esm",
"build:esnext": "ttsc -p ./tsconfig.build.json --module ESNext --target ESNext --outDir ./esnext",
"lint": "eslint ./{src,tests}/**/*.ts ./*.{ts,js}",
"lint:fix": "yarn lint --fix",
"test": "jest --coverage=false",
"test:coverage": "jest --coverage"
},
"lint-staged": {
"./{src,tests}/**/*.ts": [
"yarn lint:fix"
],
"./*.{ts,js}": [
"yarn lint:fix"
]
},
"release": {
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/git",
"@semantic-release/github"
]
}
}