-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
121 lines (121 loc) · 2.77 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
{
"name": "@untemps/solid-readotron",
"version": "1.0.2",
"author": "Vincent Le Badezet <[email protected]>",
"license": "MIT",
"description": "Solid component to display an estimated reading time",
"keywords": [
"read-o-meter",
"speed-reading-time",
"reading-time",
"reading-time-estimator",
"reading-rates",
"solid",
"solidjs",
"solid-component",
"component",
"javascript"
],
"private": false,
"repository": {
"type": "git",
"url": "git+https://github.com/untemps/solid-readotron.git"
},
"publishConfig": {
"access": "public"
},
"main": "dist/index.js",
"module": "dist/index.js",
"exports": {
".": {
"solid": "./dist/index.js",
"default": "./dist/index.js"
}
},
"files": [
"dist"
],
"peerDependencies": {
"@untemps/read-per-minute": "^1.0.3",
"solid-js": "^1.1.0"
},
"devDependencies": {
"@babel/plugin-transform-runtime": "^7.17.0",
"@commitlint/cli": "^16.2.1",
"@commitlint/config-conventional": "^16.2.1",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-node-resolve": "^13.1.3",
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^8.0.2",
"@testing-library/dom": "^8.11.3",
"@testing-library/jest-dom": "^5.11.6",
"@untemps/read-per-minute": "^1.0.3",
"babel-preset-solid": "^1.3.6",
"cross-env": "^7.0.3",
"husky": "^7.0.4",
"jest": "^27.3.1",
"prettier": "^2.3.1",
"rimraf": "^3.0.2",
"rollup": "^2.28.2",
"rollup-plugin-terser": "^7.0.2",
"semantic-release": "^19.0.2",
"solid-jest": "^0.2.0",
"solid-js": "^1.3.7",
"solid-testing-library": "^0.2.1"
},
"dependencies": {
"@untemps/utils": "^2.3.0"
},
"jest": {
"preset": "solid-jest/preset/browser",
"moduleNameMapper": {
"@untemps/utils/([^']*)": "<rootDir>/node_modules/@untemps/utils/dist/esm/$1.js"
},
"setupFilesAfterEnv": [
"<rootDir>/jest/jest.setup.js"
]
},
"release": {
"branches": [
"main"
],
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"releaseRules": [
{
"type": "chore",
"scope": "force",
"release": "patch"
}
]
}
],
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/git",
[
"@semantic-release/github",
{
"assets": [
{
"path": "dist/index.js",
"label": "ES distribution"
}
]
}
]
]
},
"scripts": {
"dev": "cd dev && rimraf dist && yarn && yarn dev",
"test": "jest -u --watch --coverage",
"test:ci": "jest -u -b --ci --coverage",
"build": "rimraf dist && cross-env NODE_ENV=production rollup -c",
"prettier": "prettier \"*/**/*.js\" --ignore-path ./.prettierignore --write && git add . && git status",
"prepare": "husky install"
}
}