forked from axel-springer-kugawana/iwb_serenity
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
76 lines (76 loc) · 3.2 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
{
"name": "iwb_serenity",
"version": "0.0.9",
"description": "Immoweb Front-end Framework",
"main": "dist/js/serenity.min.js",
"unpkg": "dist/js/serenity.min.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "npm-run-all css js copy",
"start": "npm-run-all --parallel watch docs:dev",
"css": "npm-run-all --parallel css:lint css:compile --sequential css:prefix css:minify css:copy",
"css:lint": "stylelint src/scss/**/*.scss --config build/.stylelintrc",
"css:compile": "node-sass src/scss/init.scss dist/css/serenity.css --source-map dist/css/",
"css:prefix": "postcss --use autoprefixer --replace dist/css/*.css !dist/css/*.min.css",
"css:minify": "cleancss --level 1 --output dist/css/serenity.min.css dist/css/serenity.css --source-map dist/css/",
"css:copy": "shx cp -r dist/css/serenity.min.css docs/.vuepress/public/css && shx cp -r node_modules/prism-themes/themes/prism-a11y-dark.css docs/.vuepress/public/css",
"js": "npm-run-all --sequential js:build js:copy",
"js:build": "cross-env NODE_ENV=production webpack --config build/webpack.config.js",
"js:copy": "shx cp -r src/js/serenity/*.vue docs/.vuepress/components/Serenity/",
"images": "npm-run-all --sequential images:copy",
"images:copy": "shx cp -r src/images/ dist/ && shx cp -r dist/images/ docs/.vuepress/public/",
"copy": "npm-run-all --parallel css:copy images:copy",
"watch": "npm-run-all --parallel watch:*",
"watch:css": "nodemon --watch src/scss/ --ext scss --exec \"npm run css\"",
"watch:js": "nodemon --watch src/js --ext vue --exec \"npm run js\"",
"watch:images": "nodemon --watch src/images --exec \"npm run images\"",
"docs:dev": "vuepress dev docs",
"docs:build": "vuepress build docs"
},
"repository": {
"type": "git",
"url": "git+https://github.com/axel-springer-kugawana/iwb_serenity.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/axel-springer-kugawana/iwb_serenity/issues"
},
"homepage": "https://github.com/axel-springer-kugawana/iwb_serenity#readme",
"devDependencies": {
"@babel/core": "^7.1.2",
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
"@babel/preset-env": "^7.1.0",
"autoprefixer": "^9.2.1",
"babel-loader": "^8.0.4",
"clean-css-cli": "^4.2.1",
"cross-env": "^5.2.0",
"node-sass": "^4.9.4",
"nodemon": "^1.18.9",
"npm-run-all": "^4.1.3",
"postcss-cli": "^6.0.0",
"prism-themes": "^1.0.1",
"shx": "^0.3.2",
"stylelint": "^9.6.0",
"uglifyjs-webpack-plugin": "^2.0.1",
"vue-loader": "^15.4.2",
"vuepress": "^0.14.8",
"webpack": "^4.23.1",
"webpack-cli": "^3.1.2",
"webpack-glob-entry": "^2.1.1"
},
"browserslist": [
"> 0.3%",
"last 7 versions",
"Android >= 4",
"Firefox >= 27",
"iOS >= 7",
"Safari >= 7",
"Chrome >= 30",
"Explorer >= 11"
],
"dependencies": {
"enquire.js": "^2.1.6",
"vue": "^2.5.17"
}
}