-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
106 lines (106 loc) · 3.11 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
{
"name": "@semantic-ui-react/event-stack",
"version": "3.1.3",
"repository": "https://github.com/layershifter/event-stack",
"author": "layershifter <[email protected]>",
"license": "MIT",
"files": [
"src",
"lib"
],
"main": "lib/index.js",
"types": "lib/types/index.d.ts",
"dependencies": {
"exenv": "^1.2.2",
"prop-types": "^15.6.2"
},
"devDependencies": {
"@babel/core": "^7.1.6",
"@babel/plugin-proposal-class-properties": "^7.1.0",
"@babel/preset-env": "^7.1.6",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.1.0",
"@types/exenv": "^1.2.0",
"@types/jasmine": "^3.3.0",
"@types/prop-types": "^15.5.6",
"@types/react": "^16.7.6",
"@types/react-test-renderer": "^16.0.3",
"babel-plugin-istanbul": "^5.1.0",
"babel-plugin-transform-react-remove-prop-types": "^0.4.20",
"cross-env": "^5.2.0",
"jasmine-core": "^3.3.0",
"karma": "^3.1.1",
"karma-chrome-launcher": "^2.2.0",
"karma-coverage": "^1.1.2",
"karma-firefox-launcher": "^1.1.0",
"karma-ie-launcher": "^1.0.0",
"karma-jasmine": "^2.0.1",
"karma-rollup-preprocessor": "^6.1.0",
"karma-spec-reporter": "^0.0.32",
"lint-staged": "^8.0.5",
"prettier": "^1.15.2",
"react": "^16.6.3",
"react-dom": "^16.6.3",
"react-test-renderer": "^16.6.3",
"release-it": "^8.0.0",
"rollup": "^0.67.3",
"rollup-plugin-babel": "^4.0.3",
"rollup-plugin-commonjs": "^9.2.0",
"rollup-plugin-node-resolve": "^3.4.0",
"rollup-plugin-replace": "^2.1.0",
"rollup-plugin-terser": "^3.0.0",
"rollup-plugin-typescript2": "^0.18.0",
"serve": "^10.1.1",
"simulant": "^0.2.2",
"tslint": "^5.11.0",
"tslint-config-airbnb": "^5.11.1",
"tslint-config-prettier": "^1.16.0",
"typescript": "^3.1.6"
},
"peerDependencies": {
"react": "^16.0.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.0.0 || ^17.0.0 || ^18.0.0"
},
"scripts": {
"build": "node build.js",
"lint": "tslint \"./src/**/*.{ts,tsx}\" \"./test/**/*.{ts,tsx}\"",
"precommit": "lint-staged",
"postcommit": "git update-index --again",
"prerelease": "yarn lint && yarn test --browsers ChromeHeadless && yarn test:ts && yarn build",
"release:major": "yarn prerelease && release-it major",
"release:minor": "yarn prerelease && release-it minor",
"release:patch": "yarn prerelease && release-it patch",
"serve": "serve lib",
"test": "cross-env NODE_ENV=test karma start karma.conf.js",
"test:ci:veyor": "yarn test --browsers IE",
"test:ci:circle": "yarn test --browsers ChromeHeadless,Firefox",
"test:ts": "tsc",
"test:watch": "yarn test --browsers ChromeHeadless --no-single-run"
},
"browserslist": [
">1%",
"last 4 versions",
"Firefox ESR",
"not ie < 11"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"prettier --write",
"git add"
],
"*.md": [
"prettier --write",
"git add"
],
"*.{ts,tsx}": [
"prettier --parser typescript --write",
"tslint --fix",
"git add"
]
}
}