-
Notifications
You must be signed in to change notification settings - Fork 77
/
Copy pathpackage.json
179 lines (179 loc) · 6.94 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
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
{
"name": "fundamental-react",
"version": "0.9.0",
"private": false,
"description": "SAP Fundamental Library, implemented in React",
"license": "Apache-2.0",
"main": "index.js",
"homepage": "https://sap.github.io/fundamental-react",
"repository": {
"type": "git",
"url": "https://github.com/SAP/fundamental-react"
},
"scripts": {
"build-doc:netlify": "npm run build && NETLIFY=true npm run build-doc",
"build-doc": "node scripts/copy-assets.js && node scripts/build.js && cp build/index.html build/404.html",
"build:copy-files": "cp -rf package.json README.md NOTICE.txt LICENSE.txt CHANGELOG.md lib",
"build:index": "babel-node devtools/buildIndexFiles.js",
"build:cjs": "cross-env NODE_ENV=production BABEL_ENV=cjs babel src --ignore \"src/**/*.spec.js\",\"src/**/*.test.js\",\"src/**/*.Component.js\",\"src/_playground/*\",\"src/**/*.stories.js\" --out-dir lib",
"build": "npm run build:index && rm -rf lib && npm run build:cjs",
"deploy": "gh-pages -d build",
"docs:dev": "FUNDAMENTAL_REACT_PLAYGROUND=true npm start",
"dry-run": "npm run build && npm run build:copy-files && npm publish lib --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 \"src/**/*.scss\" \"src/**/*.css\"",
"lint:style:fix": "npm run lint:style -- --fix",
"lint:pre-commit": "printf \"running pre-commit lint...\" && npm run lint && printf \"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 build && node scripts/copy-assets.js && node scripts/start.js",
"start:playground": "npm run storybook",
"std-version": "standard-version -m \"chore(release): version %s build ${TRAVIS_BUILD_NUMBER} [ci skip]\"",
"storybook": "node scripts/copy-assets.js && start-storybook -p 12123 -s src/_playground/static/",
"storybook:ci": "npm run storybook -- --ci --quiet",
"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:visual:setup": "BABEL_ENV=test jest --config=./visual-regression-testing/jest.config.js",
"test:visual": "server-test storybook:ci http-get://localhost:12123 test:visual:setup",
"test:visual:update": "server-test storybook:ci http-get://localhost:12123 'npm run test:visual:setup -- --updateSnapshot'"
},
"dependencies": {
"@babel/runtime": "^7.8.0",
"chain-function": "^1.0.1",
"classnames": "^2.2.6",
"fundamental-styles": "0.8.2-rc.0",
"keycode": "^2.2.0",
"moment": "^2.24.0",
"prop-types": "^15.7.1",
"react-foco": "^1.3.0",
"react-focus-lock": "^2.1.1",
"react-overlays": "^2.1.0",
"react-popper": "^1.3.3",
"shortid": "^2.2.14",
"tabbable": "^4.0.0"
},
"devDependencies": {
"@babel/cli": "^7.8.0",
"@babel/core": "^7.8.0",
"@babel/node": "^7.8.0",
"@babel/plugin-proposal-class-properties": "^7.8.0",
"@babel/plugin-proposal-object-rest-spread": "^7.8.0",
"@babel/plugin-transform-object-assign": "^7.8.0",
"@babel/plugin-transform-runtime": "^7.8.0",
"@babel/preset-env": "^7.8.0",
"@babel/preset-react": "^7.8.0",
"@sap-theming/theming-base-content": "^11.1.17",
"@size-limit/preset-big-lib": "^4.0.1",
"@storybook/addon-a11y": "^5.3.8",
"@storybook/addon-knobs": "^5.3.8",
"@storybook/addon-notes": "^5.3.8",
"@storybook/addon-storyshots": "^5.3.8",
"@storybook/addon-storyshots-puppeteer": "^5.3.8",
"@storybook/addon-storysource": "^5.3.8",
"@storybook/react": "^5.3.8",
"@storybook/source-loader": "^5.3.8",
"annotated-prop-types": "^0.3.0",
"babel-eslint": "9.0.0",
"babel-jest": "^24.8.0",
"babel-loader": "8.1.0",
"babel-plugin-named-asset-import": "^0.3.2",
"babel-plugin-require-context-hook": "^1.0.0",
"babel-plugin-transform-react-constant-elements": "^6.23.0",
"babel-plugin-transform-react-remove-prop-types": "^0.4.23",
"babel-preset-react-app": "^9.0.0",
"bfj": "7.0.2",
"case-sensitive-paths-webpack-plugin": "2.3.0",
"chalk": "2.4.2",
"core-js": "^3.1.4",
"coveralls": "^3.0.2",
"cross-env": "^7.0.0",
"css-loader": "3.2.0",
"dotenv": "8.2.0",
"dotenv-expand": "5.1.0",
"enzyme": "^3.7.0",
"enzyme-adapter-react-16": "^1.7.0",
"eslint": "5.16.0",
"eslint-config-react-app": "^3.0.5",
"eslint-loader": "3.0.2",
"eslint-plugin-compat": "^2.6.3",
"eslint-plugin-flowtype": "2.50.3",
"eslint-plugin-ie11": "^1.0.0",
"eslint-plugin-import": "2.20.1",
"eslint-plugin-jsx-a11y": "6.2.3",
"eslint-plugin-loosely-restrict-imports": "^0.1.15",
"eslint-plugin-react": "7.14.3",
"file-loader": "4.2.0",
"fs-extra": "9.0.0",
"gh-pages": "^2.0.1",
"github-assistant": "^0.3.0",
"group-array": "^1.0.0",
"html-webpack-plugin": "4.0.0-alpha.2",
"jest": "24.9.0",
"jest-puppeteer": "^4.3.0",
"mini-css-extract-plugin": "0.8.0",
"node-sass": "^4.13.1",
"optimize-css-assets-webpack-plugin": "5.0.3",
"pnp-webpack-plugin": "^1.5.0",
"postcss-flexbugs-fixes": "4.2.0",
"postcss-loader": "3.0.0",
"postcss-preset-env": "6.7.0",
"postcss-safe-parser": "4.0.1",
"pre-commit": "^1.2.2",
"prettier": "^1.19.1",
"puppeteer": "^2.0.0",
"react": "^16.8.0",
"react-dev-utils": "^7.0.5",
"react-dom": "^16.8.0",
"react-element-to-jsx-string": "^14.0.2",
"react-helmet-async": "^1.0.2",
"react-markdown": "^4.0.6",
"react-router": "^5.0.1",
"react-router-dom": "^5.0.1",
"react-syntax-highlighter": "^12.2.1",
"react-test-renderer": "^16.6.3",
"regenerator-runtime": "^0.13.2",
"resolve": "1.12.0",
"sass-loader": "7.3.1",
"size-limit": "^4.0.1",
"sort-by": "^1.2.0",
"standard-version": "^4.4.0",
"start-server-and-test": "^1.10.6",
"style-loader": "1.0.0",
"stylelint": "^12.0.0",
"stylelint-config-prettier": "^8.0.0",
"stylelint-prettier": "^1.1.2",
"terser-webpack-plugin": "^2.3.2",
"tocbot": "^4.5.0",
"url-loader": "2.1.0",
"webpack": "4.42.1",
"webpack-dev-server": "^3.1.11",
"webpack-manifest-plugin": "2.1.2",
"workbox-webpack-plugin": "4.3.1"
},
"peerDependencies": {
"react": "^16.8.0",
"react-dom": "^16.8.0",
"@sap-theming/theming-base-content": "^11.1.17"
},
"pre-commit": {
"colors": true,
"run": [
"lint:pre-commit"
],
"silent": false
},
"browserslist": [
">0.2%",
"not dead",
"not ie < 11",
"not op_mini all"
]
}