forked from SAP/fundamental
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
93 lines (93 loc) · 4.75 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
{
"name": "fiori-fundamentals",
"version": "1.7.3",
"description": "Fiori Fundamentals is a Design System and HTML/CSS Component Library used to build modern Product User Experiences with the SAP look and feel. Learn more about this project at - http://sap.github.io/fundamental/",
"main": "index.js",
"scripts": {
"build": "npm run style:remove && npm run style:compile && npm run style:rename && npm run style:postCSS && npm run style:assets",
"build:prod": "npm run build && npm run style:less && npm run style:minify",
"deploy": "gh-pages -d docs/_site",
"docs:compile": "npm run build && npm run docs:config && cp scss/icons/SAP-icons.woff docs/css/; cp dist/fiori-fundamentals-ie11.css docs/css",
"docs:config": "./scripts/create-library-config.js",
"docs:prod": "npm run docs:compile && cd docs && bundle install && bundle exec jekyll build --config _config.yml,_config-library.yml,_config-prod.yml && cd ..",
"docs": "npm run docs:compile && cd docs && bundle install && bundle exec jekyll build --config _config.yml,_config-library.yml && cd ..",
"lint:fix": "stylelint './scss/**/*.scss' --fix",
"lint:pre-commit": "printf \"running pre-commit lint...\" && npm run lint && printf \"done!\n\"",
"lint": "stylelint './scss/**/*.scss'",
"release:create": "create-release",
"release": "./scripts/publish-release.sh",
"start:playground": "npm-run-all --parallel start:playground:default start:playground:scs start:playground:comparison",
"start:playground:default": "node test/app.js",
"start:playground:comparison": "node playground/app.js",
"start:playground:ie11": "PORT=3032 IE11=true npm run start:playground:default",
"start:playground:scs": "PORT=3031 SELF_CONTAINED=true npm run start:playground:default",
"start:browser-sync": "browser-sync start --proxy 'localhost:4000' --files 'docs/_site/**/*' --reloadDelay '2000'",
"start": "npm run docs:compile && cd docs && bundle install && bundle exec jekyll serve --incremental --config _config.yml,_config-library.yml",
"std-version": "standard-version -m \"chore(release): version %s build ${TRAVIS_BUILD_NUMBER} [ci skip]\"",
"style:assets": "./scripts/copy-assets.sh",
"style:compile": "node-sass -q --output-style expanded --precision 5 scss/ --output dist/",
"style:less": " mv dist/fundamentals-ie11.less.css less/fiori-fundamentals-ie11.less && mv dist/fundamentals.less.css less/fiori-fundamentals.less && ./scripts/less.js",
"style:minify": "foreach -t -g \"dist/*.css\" -x \"cleancss -O1 specialComments:1 #{path} -o #{dir}/#{name}.min.css\" --no-c && foreach -t -g \"dist/components/*.css\" -x \"cleancss -O1 specialComments:1 #{path} -o #{dir}/#{name}.min.css\" --no-c",
"style:postCSS": "postcss --config config/postcss.config.js --replace dist/**/*.css && postcss --config config/postcss.config.js --replace dist/*.css",
"style:remove": "if [ -d dist/ ]; then rm -rf dist/; fi",
"style:rename": "mv dist/all.css dist/fiori-fundamentals.css && mv dist/all-ie11.css dist/fiori-fundamentals-ie11.css",
"test": "server-test start:playground:default http-get://localhost:3030 test:visual",
"test:ci-config": "./ci-scripts/generateBackstopConfig.js",
"test:reference": "backstop reference --config ./test/visual-regression-tests/config/backstopConfig.js --docker",
"test:update": "server-test start:playground:default http-get://localhost:3030 test:reference && backstop approve --config ./test/visual-regression-tests/config/backstopConfig.js",
"test:visual": "backstop test --config ./test/visual-regression-tests/config/backstopConfig.js --docker"
},
"repository": {
"type": "git",
"url": "https://github.com/SAP/fundamental.git"
},
"files": [
"/dist",
"/less",
"/scss"
],
"author": "",
"license": "Apache-2.0",
"homepage": "https://sap.github.io/fundamental/",
"devDependencies": {
"backstopjs": "3.9.2",
"browser-sync": "^2.26.7",
"clean-css-cli": "^4.2.1",
"del": "^3.0.0",
"express": "^4.16.4",
"foreach-cli": "^1.8.1",
"gh-pages": "^2.0.1",
"github-assistant": "^0.3.0",
"ip": "^1.1.5",
"load-json-file": "^5.2.0",
"node-sass": "^4.9.4",
"npm-run-all": "^4.1.5",
"nunjucks": "^3.1.3",
"postcss-banner": "^3.0.1",
"postcss-clean": "^1.1.0",
"postcss-cli": "^6.1.2",
"pre-commit": "^1.2.2",
"signale": "^1.3.0",
"standard-version": "4.2.0",
"start-server-and-test": "^1.7.13",
"stylelint": "^9.10.1",
"stylelint-scss": "^3.5.4",
"write-yaml": "^1.0.0",
"yargs": "^12.0.2"
},
"directories": {
"doc": "docs",
"test": "test"
},
"dependencies": {},
"engines": {
"node": ">=8.12.0"
},
"pre-commit": {
"colors": true,
"run": [
"lint:pre-commit"
],
"silent": false
}
}