-
Notifications
You must be signed in to change notification settings - Fork 77
/
package.json
163 lines (163 loc) · 6.71 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
157
158
159
160
161
162
163
{
"name": "fundamental-react",
"version": "0.14.5",
"private": false,
"description": "SAP Fundamental Library, implemented in React",
"license": "Apache-2.0",
"main": "lib/index.js",
"types": "index.d.ts",
"homepage": "https://sap.github.io/fundamental-react",
"repository": {
"type": "git",
"url": "https://github.com/SAP/fundamental-react"
},
"files": [
"lib",
"types",
"index.d.ts",
"README.md"
],
"scripts": {
"build:index": "babel-node devtools/buildIndexFiles.js",
"build:storybook": "babel-node devtools/buildVisualStories.js && babel-node scripts/copy-assets.js",
"build:cjs": "cross-env NODE_ENV=production BABEL_ENV=cjs babel src --ignore \"src/**/*.visual.js\",\"src/**/*.test.js\",\"src/**/*.stories.js\",\"src/Docs/*.stories.mdx\" --out-dir lib && cp -r src/overrideCss lib ",
"build": "npm run build:index && rimraf lib && npm run build:cjs",
"deploy": "gh-pages -d storybook-static",
"dry-run": "npm run build && npm publish --dry-run",
"lint": "npm run lint:code && npm run lint:style",
"lint:fix": "npm run lint:code:fix && npm run lint:style:fix",
"lint:code": "eslint . --ext .js,.jsx",
"lint:code:fix": "npm run lint:code -- --fix",
"lint:style": "stylelint \".storybook/custom/*.scss\"",
"lint:style:fix": "npm run lint:style -- --fix",
"lint:pre-commit": "echo running pre-commit lint... && npm run lint && echo done!\n",
"release:create": "create-release",
"release": "./scripts/publish-release.sh",
"size": "npm run build && size-limit",
"size:debug": "npm run build && size-limit --why",
"start": "npm run storybook",
"storybook": "npm run build:storybook && start-storybook -p 12123 -s .storybook/static/,node_modules/@sap-theming,node_modules/fundamental-styles/dist/ --no-dll",
"storybook:ci": "npm run storybook -- --ci --quiet",
"storybook:static": "rimraf storybook-static && npm run build:storybook && STORYBOOK_ENV=docs build-storybook -c .storybook -o storybook-static -s .storybook/static/,node_modules/@sap-theming,node_modules/fundamental-styles/dist/ --docs --no-dll",
"test:coverage:watch": "npm run test:coverage -- --watch",
"test:coverage": "npm run test:dev -- --coverage",
"test:coveralls": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js || echo -e \"Coveralls failed.\"",
"test:dev": "jest --config=./config/jest/jest.config.js",
"test": "npm run test:dev -- --watch",
"test:storybook:setup": "npm run build:storybook && cross-env BABEL_ENV=test jest --no-cache --config=./storybook-testing/jest.config.js",
"test:storybook": "server-test storybook:ci http-get://localhost:12123 test:storybook:setup",
"test:storybook:update": "server-test storybook:ci http-get://localhost:12123 'rimraf storybook-testing/__image_snapshots__/* && npm run test:storybook:setup -- --updateSnapshot'",
"prepare": "husky install",
"std-version": "standard-version --infile ./CHANGELOG.md --releaseCommitMessageFormat \"chore(release): version {{currentTag}} build ${TRAVIS_BUILD_NUMBER} [ci skip]\" --header \"\""
},
"dependencies": {
"@babel/runtime-corejs3": "^7.12.5",
"@popperjs/core": "^2.5.4",
"chain-function": "^1.0.1",
"classnames": "^2.3.1",
"fundamental-styles": "^0.26.5",
"hoist-non-react-statics": "^3.3.2",
"keycode": "^2.2.0",
"moment": "^2.29.2",
"prop-types": "^15.7.1",
"react-foco": "^1.3.0",
"react-focus-lock": "^2.5.2",
"react-overlays": "^4.1.1",
"react-popper": "^2.3.0",
"react-required-if": "^1.0.3",
"shortid": "^2.2.16",
"tabbable": "^5.1.3"
},
"devDependencies": {
"@babel/cli": "^7.12.8",
"@babel/core": "^7.12.9",
"@babel/node": "^7.12.6",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/plugin-proposal-object-rest-spread": "^7.12.1",
"@babel/plugin-transform-react-constant-elements": "^7.12.1",
"@babel/plugin-transform-runtime": "^7.12.1",
"@babel/preset-env": "^7.12.7",
"@babel/preset-react": "^7.12.7",
"@commitlint/cli": "^12.1.4",
"@commitlint/config-conventional": "^12.1.4",
"@commitlint/travis-cli": "^12.1.4",
"@pxblue/storybook-rtl-addon": "^1.0.0",
"@sap-theming/theming-base-content": "^11.1.34",
"@size-limit/preset-big-lib": "^4.9.0",
"@storybook/addon-a11y": "^6.1.9",
"@storybook/addon-cssresources": "^6.1.9",
"@storybook/addon-essentials": "^6.1.9",
"@storybook/addon-knobs": "^6.1.9",
"@storybook/addon-storyshots": "^6.1.9",
"@storybook/addon-storyshots-puppeteer": "^6.1.9",
"@storybook/addon-storysource": "^6.1.9",
"@storybook/components": "^6.1.9",
"@storybook/react": "^6.1.9",
"@storybook/source-loader": "^6.1.9",
"@storybook/theming": "^6.1.9",
"@testing-library/jest-dom": "^5.11.6",
"@wojtekmaj/enzyme-adapter-react-17": "^0.3.1",
"babel-eslint": "^10.1.0",
"babel-jest": "^26.6.3",
"babel-loader": "^8.2.1",
"babel-plugin-client-only-require": "^1.0.1",
"babel-plugin-named-asset-import": "^0.3.7",
"babel-plugin-require-context-hook": "^1.0.0",
"babel-plugin-transform-react-remove-prop-types": "^0.4.23",
"babel-preset-react-app": "^10.0.0",
"core-js": "^3.7.0",
"coveralls": "^3.1.0",
"cross-env": "^7.0.2",
"css-loader": "^5.0.1",
"enzyme": "^3.7.0",
"eslint": "^7.14.0",
"eslint-loader": "^4.0.2",
"eslint-plugin-compat": "^3.8.0",
"eslint-plugin-ie11": "^1.0.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-local-rules": "^0.1.1",
"eslint-plugin-loosely-restrict-imports": "^0.1.15",
"eslint-plugin-react": "^7.21.5",
"eslint-plugin-react-hooks": "^4.2.0",
"fs-extra": "^9.0.1",
"gh-pages": "^3.1.0",
"github-assistant": "^0.3.1-rc.0",
"husky": "^6.0.0",
"jest": "^26.6.3",
"jest-puppeteer": "^4.4.0",
"node-sass": "^5.0.0",
"prettier": "^2.2.0",
"puppeteer": "^5.5.0",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-router-dom": "^5.2.0",
"react-syntax-highlighter": "^15.3.1",
"react-test-renderer": "^17.0.1",
"rimraf": "^3.0.2",
"sass-loader": "^10.1.0",
"size-limit": "^4.9.0",
"standard-version": "9.3.0",
"start-server-and-test": "^1.11.6",
"story-description-loader": "^1.0.0",
"style-loader": "^2.0.0",
"stylelint": "^13.8.0",
"stylelint-config-prettier": "^8.0.2",
"stylelint-prettier": "^1.1.2",
"tocbot": "^4.11.1",
"typescript": "^4.1.2",
"webpack-merge": "^5.4.0"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.1 || ^18",
"react-dom": "^16.8.0 || ^17.0.1 || ^18"
},
"prettier": {
"singleQuote": true
},
"browserslist": [
"last 2 versions",
"not ie < 11",
"not op_mini all"
]
}