-
Notifications
You must be signed in to change notification settings - Fork 18
/
package.json
156 lines (156 loc) · 3.74 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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
{
"version": "1.0.0",
"license": "MIT",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"files": [
"dist",
"src"
],
"engines": {
"node": ">=10"
},
"scripts": {
"start": "tsdx watch",
"build": "tsdx build",
"test": "tsdx test --passWithNoTests && yarn size",
"lint": "tsdx lint",
"docz:dev": "docz dev",
"docz:build": "docz build",
"docz:serve": "docz build && docz serve",
"size": "size-limit",
"release:first": "standard-version --first-release",
"release": "standard-version",
"release:publish": "git push --follow-tags origin develop && yarn publish --access=public",
"release:docs": "./docs-deploy.sh",
"prepublish": "yarn build && pkg-ok",
"test:ci": "tsdx test --passWithNoTests --ci --coverage --maxWorkers=2 && yarn size"
},
"peerDependencies": {
"react": ">=16"
},
"name": "@cyriacbr/react-split-text",
"author": "CyriacBr",
"module": "dist/react-split-text.esm.js",
"keywords": [
"react",
"typescript",
"split",
"text",
"wrap",
"animation",
"framer",
"motion"
],
"homepage": "https://github.com/CyriacBr/react-split-text",
"repository": {
"url": "https://github.com/CyriacBr/react-split-text.git"
},
"devDependencies": {
"@commitlint/cli": "^8.3.4",
"@commitlint/config-conventional": "^8.3.4",
"@size-limit/preset-small-lib": "^4.5.0",
"@types/enzyme": "^3.10.5",
"@types/enzyme-adapter-react-16": "^1.0.6",
"@types/react": "^16.9.35",
"@types/react-dom": "^16.9.8",
"@typescript-eslint/eslint-plugin": "^2.16.0",
"@typescript-eslint/parser": "^2.16.0",
"docz": "^2.3.1",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.2",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.9.0",
"eslint-plugin-import": "^2.20.0",
"eslint-plugin-jest": "^23.6.0",
"eslint-plugin-jest-formatting": "^1.2.0",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.20.0",
"husky": "^4.2.5",
"lint-staged": "^10.2.10",
"pkg-ok": "^2.3.1",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"size-limit": "^4.5.0",
"standard-version": "^8.0.0",
"tsdx": "^0.13.2",
"tslib": "^2.0.0",
"typescript": "^3.9.3"
},
"resolutions": {
"react-docgen-typescript": "latest",
"gatsby": "2.23.2"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-push": "git diff HEAD --quiet && yarn test"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"**/*.{js,jsx,ts,tsx}": [
"eslint --fix"
]
},
"eslintConfig": {
"env": {
"browser": true,
"es6": true,
"node": true,
"jest/globals": true
},
"extends": [
"eslint:recommended",
"plugin:prettier/recommended",
"plugin:react/recommended",
"plugin:jest-formatting/recommended"
],
"ignorePatterns": [
"node_modules/",
"docs/"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": [
"@typescript-eslint",
"jest"
],
"rules": {
"no-unused-vars": "off",
"react/prop-types": "off"
}
},
"prettier": {
"printWidth": 80,
"semi": true,
"singleQuote": true,
"trailingComma": "es5"
},
"jest": {
"setupFilesAfterEnv": [
"<rootDir>test/setup.ts"
]
},
"size-limit": [
{
"limit": "1.5 KB",
"path": "dist/react-split-text.cjs.production.min.js"
}
]
}