forked from SAP/fundamental-react
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
152 lines (152 loc) · 6.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
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
{
"name": "fundamental-react",
"version": "0.9.1-rc.17",
"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:copy-files": "cp -rf package.json README.md NOTICE.txt LICENSE.txt CHANGELOG.md lib",
"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/**/*.test.js\",\"src/**/*.stories.js\",\"src/Docs/*.stories.mdx\" --out-dir lib",
"build": "npm run build:index && rm -rf lib && npm run build:cjs",
"deploy": "gh-pages -d storybook-static",
"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 \".storybook/custom/*.scss\"",
"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 storybook",
"std-version": "standard-version -m \"chore(release): version %s build ${TRAVIS_BUILD_NUMBER} [ci skip]\"",
"storybook": "npm run build:storybook && start-storybook -p 12123 -s .storybook/static/",
"storybook:ci": "npm run storybook -- --ci --quiet",
"storybook:static": "rm -rf storybook-static && npm run build:storybook && build-storybook -c .storybook -o storybook-static -s .storybook/static/ --docs",
"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 && BABEL_ENV=test jest --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 'npm run test:storybook: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.18",
"@storybook/addon-cssresources": "^5.3.18",
"@storybook/addon-docs": "^5.3.18",
"@storybook/addon-knobs": "^5.3.18",
"@storybook/addon-storyshots": "^5.3.18",
"@storybook/addon-storyshots-puppeteer": "^5.3.18",
"@storybook/addon-storysource": "^5.3.18",
"@storybook/addon-viewport": "^5.3.18",
"@storybook/components": "^5.3.18",
"@storybook/react": "^5.3.18",
"@storybook/source-loader": "^5.3.18",
"@storybook/theming": "^5.3.18",
"babel-eslint": "^10.1.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",
"core-js": "^3.1.4",
"coveralls": "^3.0.2",
"cross-env": "^7.0.2",
"css-loader": "^3.5.3",
"enzyme": "^3.7.0",
"enzyme-adapter-react-16": "^1.7.0",
"eslint": "^6.8.0",
"eslint-loader": "^4.0.2",
"eslint-plugin-compat": "^3.5.1",
"eslint-plugin-flowtype": "^4.7.0",
"eslint-plugin-ie11": "^1.0.0",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-loosely-restrict-imports": "^0.1.15",
"eslint-plugin-react": "^7.19.0",
"eslint-plugin-react-hooks": "^4.0.0",
"fs-extra": "9.0.0",
"gh-pages": "^2.0.1",
"github-assistant": "^0.3.1-rc.0",
"jest": "24.9.0",
"jest-puppeteer": "^4.4.0",
"node-sass": "^4.14.1",
"pre-commit": "^1.2.2",
"prettier": "^1.19.1",
"puppeteer": "^3.0.0",
"react": "^16.8.0",
"react-dom": "^16.8.0",
"react-router-dom": "^5.0.1",
"react-syntax-highlighter": "^12.2.1",
"react-test-renderer": "^16.6.3",
"regenerator-runtime": "^0.13.2",
"sass-loader": "^8.0.2",
"size-limit": "^4.0.1",
"standard-version": "^7.1.0",
"start-server-and-test": "^1.10.6",
"storybook-addon-i18n": "^5.1.13",
"style-loader": "^1.2.1",
"stylelint": "^13.3.3",
"stylelint-config-prettier": "^8.0.0",
"stylelint-prettier": "^1.1.2",
"tocbot": "^4.11.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": [
"last 2 versions",
"not ie < 11",
"not op_mini all"
]
}