-
Notifications
You must be signed in to change notification settings - Fork 95
/
package.json
100 lines (100 loc) · 3.26 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
{
"name": "react-with-styles",
"version": "5.0.0",
"description": "",
"main": "lib/withStyles.js",
"exports": {
".": [
{
"default": "./lib/withStyles.js"
},
"./lib/withStyles.js"
],
"./package.json": "./package.json"
},
"directories": {
"test": "test"
},
"scripts": {
"build": "npm run clean && babel src/ -d lib/",
"check-changelog": "expr $(git status --porcelain 2>/dev/null| grep \"^\\s*M.*CHANGELOG.md\" | wc -l) >/dev/null || (echo 'Please edit CHANGELOG.md' && exit 1)",
"check-only-changelog-changed": "(expr $(git status --porcelain 2>/dev/null| grep -v \"CHANGELOG.md\" | wc -l) >/dev/null && echo 'Only CHANGELOG.md may have uncommitted changes' && exit 1) || exit 0",
"clean": "rimraf lib",
"lint": "eslint --ext .js,.jsx .",
"mocha": "mocha test",
"mocha:debugger": "mocha --inspect-brk",
"postversion": "git commit package.json CHANGELOG.md -m \"Version $npm_package_version\" && npm run tag && git push && git push --tags && npm publish",
"prepublish": "in-publish && safe-publish-latest && npm run build || not-in-publish",
"pretest": "npm run --silent lint",
"preversion": "npm run test && npm run check-changelog && npm run check-only-changelog-changed",
"tag": "git tag v$npm_package_version",
"test": "npm run tests-only",
"tests-only": "nyc npm run mocha --silent test",
"version:major": "npm --no-git-tag-version version major",
"version:minor": "npm --no-git-tag-version version minor",
"version:patch": "npm --no-git-tag-version version patch"
},
"repository": {
"type": "git",
"url": "git+https://github.com/airbnb/react-with-styles.git"
},
"keywords": [
"react",
"css",
"styles",
"aphrodite",
"radium",
"inline",
"styles",
"react",
"native"
],
"author": "Joe Lencioni <joe.lencioni@airbnb.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/airbnb/react-with-styles/issues"
},
"homepage": "https://github.com/airbnb/react-with-styles#readme",
"devDependencies": {
"@babel/cli": "^7.22.9",
"@babel/core": "^7.22.9",
"@babel/register": "^7.22.5",
"@babel/runtime": "^7.22.6",
"airbnb-js-shims": "^2.2.1",
"babel-plugin-transform-replace-object-assign": "^2.0.0",
"babel-preset-airbnb": "^4.5.0",
"chai": "^4.3.7",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.7",
"enzyme-adapter-react-helper": "^1.3.10",
"eslint": "^8.46.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-plugin-import": "^2.28.0",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-react": "^7.33.1",
"eslint-plugin-react-hooks": "^4.6.0",
"in-publish": "^2.0.1",
"jsdom": "^14.1.0",
"jsdom-global": "^3.0.2",
"mocha": "^5.2.0",
"nyc": "^14.1.1",
"react": "^16.14.0",
"react-dom": "^16.14.0",
"react-test-renderer": "^16.14.0",
"rimraf": "^3.0.2",
"safe-publish-latest": "^2.0.0",
"sinon": "^6.3.5",
"sinon-sandbox": "^2.0.6"
},
"peerDependencies": {
"@babel/runtime": "^7.13.10",
"react": "^16.14.0"
},
"dependencies": {
"airbnb-prop-types": "^2.16.0",
"hoist-non-react-statics": "^3.3.2",
"object.assign": "^4.1.4",
"prop-types": "^15.8.1",
"react-with-direction": "^1.4.0"
}
}