forked from SAP/fundamental-styles
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
156 lines (156 loc) · 7.72 KB
/
Copy pathpackage.json
File metadata and controls
156 lines (156 loc) · 7.72 KB
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
{
"name": "fundamental-styles",
"version": "0.24.1-rc.8",
"description": "Fundamental Library Styles is a Design System and HTML/CSS Component Library used to build modern Product User Experiences with SAP Fiori look and feel with any web technology. Learn more about this project at - http://sap.github.io/fundamental-styles/",
"main": "dist/fundamental-styles.css",
"scripts": {
"build": "npm run style:remove && npm run build:default && npm run build:fn && npm run build:theming-preview && npm run build:fn-icons && npm run build:common-css && npm run sync-versions",
"build:default": "npm run style:compile && npm run style:postCSS && npm run style:assets",
"build:fn": "npm run style-fn:compile && npm run style-fn:postCSS && node ./scripts/copy-fn-readme-and-package.js",
"build:common-css": "npm run style-common-css:compile && npm run style-common-css:postCSS && node ./scripts/copy-common-css-readme-and-package.js",
"build:fn-icons": "npm run fn-icons:compile && npm run fn-icons:postCSS && babel-node ./scripts/copy-icons-and-config.js",
"build:prod": "cross-env NODE_ENV=production npm run build",
"build:theming-preview": "node ./scripts/build-theming-preview.js",
"build:visual-stories": "babel-node scripts/build-visual-stories.js",
"deploy": "gh-pages -d storybook-static/",
"lint:style": "stylelint \"{src,.storybook}/**/*.(sa|sc|c)ss\"",
"lint:js": "eslint . --ext .js",
"lint": "npm run sync-fiori-components && npm run sync-fn-components && npm run lint:style && npm run lint:js",
"lint:fix": "npm run sync-fiori-components fix && npm run sync-fn-components fix && npm run lint:style -- --fix && npm run lint:js -- --fix",
"lint:pre-commit": "echo running pre-commit lint... && npm run lint && echo done!\n",
"release:create": "create-release",
"release": "./scripts/publish-release.sh",
"hotfix-release": "./scripts/hotfix-publish-release.sh",
"hotfix-release-latest": "./scripts/hotfix-publish-release.sh latest",
"size": "bundlesize --config config/bundlesize.json",
"start": "npm run build:visual-stories && npm run storybook:serve",
"start:prod": "npm run storybook:serve:prod",
"style:assets": "babel-node ./scripts/copy-assets.js",
"style:compile": "sass -q --no-source-map --style expanded src/styles:dist/",
"style:postCSS": "postcss --config config/postcss.config.js --replace dist/*.css",
"style:remove": "rimraf dist && rimraf dist-theming && rimraf dist-fn && rimraf dist-fn-icons && rimraf dist-common-css",
"style-fn:compile": "sass -q --no-source-map --style expanded src/fn:dist-fn/dist",
"style-common-css:compile": "sass -q --no-source-map --style expanded src/common-css:dist-common-css/dist",
"fn-icons:compile": "sass -q --no-source-map --style expanded src/icons:dist-fn-icons/dist",
"fn-icons:postCSS": "postcss --config config/postcss.config.js --replace dist-fn-icons/dist/*.css",
"style-fn:postCSS": "postcss --config config/postcss.config.js --replace dist-fn/dist/*.css",
"style-common-css:postCSS": "postcss --config config/postcss.config.js --replace dist-common-css/dist/*.css",
"sync-versions": "node ./scripts/sync-version.js",
"test": "npm run test:accessibility && server-test storybook:ci http-get://localhost:6006 \"npm run storybook:visual:setup\"",
"test:accessibility": "babel-node scripts/build-accessibility-tests.js && jest ---testPathIgnorePatterns=storybook-testing/storyshots.test.js",
"test:update": "npm run build:visual-stories && server-test storybook:ci http-get://localhost:6006 \"npm run storybook:visual:setup -- --updateSnapshot\"",
"storybook": "npm run storybook:serve",
"storybook:serve": "start-storybook -p 6006",
"storybook:serve:prod": "cross-env NODE_ENV=production npm run storybook:prep && cross-env NODE_ENV=production npm run start",
"storybook:ci": "npm run storybook -- --ci --quiet",
"storybook:prep": "npm run build && npm run build:visual-stories",
"storybook:static": "rimraf storybook-static && npm run storybook:prep && cross-env STORYBOOK_ENV=docs build-storybook -c .storybook -o storybook-static --docs",
"storybook:chromatic": "rimraf storybook-chromatic && npm run storybook:prep && cross-env STORYBOOK_ENV=chromatic build-storybook -c .storybook -o storybook-chromatic",
"storybook:visual:setup": "jest --no-cache --config=./config/jest.config.js",
"chromatic": "npx storybook:chromatic",
"prepare": "husky install",
"std-version": "standard-version --infile ./CHANGELOG.md --releaseCommitMessageFormat \"chore(release): version {{currentTag}} build ${TRAVIS_BUILD_NUMBER} [ci skip]\" --header \"\"",
"sync-fiori-components": "node ./scripts/sync-components.js lib=fiori",
"sync-fn-components": "node ./scripts/sync-components.js lib=fn",
"pre-commit": "lint-staged && npm run lint:pre-commit"
},
"repository": {
"type": "git",
"url": "https://github.com/SAP/fundamental-styles.git"
},
"files": [
"/dist"
],
"author": "",
"license": "Apache-2.0",
"homepage": "https://sap.github.io/fundamental-styles/",
"devDependencies": {
"@babel/core": "^7.11.6",
"@babel/node": "^7.10.5",
"@babel/plugin-transform-runtime": "^7.11.5",
"@babel/preset-react": "^7.10.4",
"@commitlint/cli": "^17.0.0",
"@commitlint/config-conventional": "^17.0.0",
"@commitlint/travis-cli": "^16.0.0",
"@sap-theming/theming-base-content": "11.1.40",
"@storybook/addon-a11y": "6.5.9",
"@storybook/addon-actions": "6.5.9",
"@storybook/addon-controls": "6.5.9",
"@storybook/addon-cssresources": "6.2.9",
"@storybook/addon-docs": "6.5.9",
"@storybook/addon-links": "6.5.9",
"@storybook/addon-storyshots": "6.5.9",
"@storybook/addon-toolbars": "6.5.9",
"@storybook/addon-viewport": "6.5.9",
"@storybook/addons": "6.5.9",
"@storybook/builder-webpack5": "^6.5.9",
"@storybook/html": "6.5.9",
"@storybook/manager-webpack5": "^6.5.9",
"@storybook/preset-scss": "^1.0.3",
"babel-eslint": "^10.1.0",
"babel-jest": "^27.1.0",
"babel-loader": "^8.1.0",
"bundlesize": "^0.18.1",
"case": "^1.6.3",
"chromatic": "^6.0.4",
"clean-css": "^5.3.0",
"clean-css-cli": "^5.4.1",
"colors": "1.4.0",
"cross-env": "^7.0.3",
"css-loader": "^5.2.4",
"cssnano": "5.1.7",
"eslint": "^7.25.0",
"eslint-plugin-storybook": "^0.5.12",
"fs-extra": "^10.0.0",
"gh-pages": "^3.2.3",
"github-assistant": "^0.3.3",
"husky": "7.0.4",
"jest": "^26.4.2",
"jest-axe": "^4.1.0",
"klaw-sync": "^6.0.0",
"line-reader": "^0.4.0",
"lint-staged": "^12.4.2",
"lodash": "^4.17.21",
"markdown-to-jsx": "^7.1.2",
"mkdirp": "^1.0.4",
"ncp": "^2.0.0",
"normalize.css": "^8.0.1",
"npm-run-all": "^4.1.5",
"postcss": "^8.2.13",
"postcss-banner": "^4.0.0",
"postcss-cli": "^9.0.1",
"postcss-custom-properties": "^11.0.0",
"postcss-import": "^14.0.1",
"postcss-normalize-charset": "^4.0.1",
"pretty": "^2.0.0",
"puppeteer": "9.1.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-is": "^17.0.2",
"react-scripts": "^4.0.3",
"regenerator-runtime": "^0.13.7",
"rimraf": "^3.0.2",
"sass": "1.52.1",
"sass-loader": "^10.0.2",
"standard-version": "9.3.2",
"start-server-and-test": "^1.14.0",
"story-description-loader": "^1.0.0",
"style-loader": "^2.0.0",
"stylelint": "^13.13.1",
"stylelint-config-standard": "^22.0.0",
"stylelint-scss": "^3.19.0",
"tocbot": "^4.12.3",
"webpack": "^5.66.0",
"webpack-merge": "^5.7.3"
},
"directories": {
"storybook-testing": "storybook-testing"
},
"browserslist": [
"last 2 versions"
],
"lint-staged": {
"{src,.storybook}/**/*.(sa|sc|c)ss": "stylelint --fix",
"*.js": "eslint --fix"
}
}