-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
81 lines (81 loc) · 3.56 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
{
"name": "massive-styleguide",
"version": "1.0.45",
"description": "Massive Styleguide",
"main": "Resources/public/js/styleguide.js",
"scripts": {
"info": "npm-scripts-info",
"build": "yarn run build:css && yarn run build:js && yarn run update:version",
"watch": "parallelshell 'yarn run watch:js' 'yarn run watch:css'",
"lint": "yarn run lint:css && yarn run lint:js",
"lint:fix": "yarn run lint:css:fix && yarn run lint:js:fix",
"build:js": "yarn run lint:js:fix && yarn run browserify && yarn run uglify",
"watch:js": "watchify Resources/js/main.js -o Resources/public/js/main.js --verbose --delay 300 --poll -t [ babelify --presets [ env ] ]",
"browserify": "browserify Resources/js/main.js -o Resources/public/js/main.js -t [ babelify --presets [ env ] ]",
"uglify": "uglifyjs Resources/public/js/main.js -o Resources/public/js/main.js",
"lint:js": "eslint Resources/js",
"lint:js:fix": "eslint Resources/js --fix",
"build:css": "yarn run lint:css:fix && yarn run scss-autoprefix && yarn run cssnano",
"watch:css": "onchange 'Resources/css/**/*.scss' 'Resources/css/*.scss' -- yarn run scss-autoprefix",
"scss": "node-sass --output-style expanded -o Resources/public/css Resources/css",
"scss-autoprefix": "yarn run scss && yarn run autoprefixer",
"autoprefixer": "postcss -u autoprefixer -r Resources/public/css/base.css Resources/public/css/base-text.css --no-map",
"cssnano": "postcss -u cssnano -r Resources/public/css/base.css Resources/public/css/base-text.css --no-map",
"lint:css": "stylelint Resources/css/*.scss Resources/css/**/*.scss",
"lint:css:fix": "stylelint Resources/css/*.scss Resources/css/**/*.scss --fix",
"update:version": "npm version patch --git-tag-version false"
},
"author": "Alexander Schranz",
"license": "MIT",
"bugs": {
"url": "https://github.com/massiveart/MassiveStyleguideBundle/issues"
},
"homepage": "https://github.com/massiveart/MassiveStyleguideBundle#readme",
"scripts-info": {
"build": "Compiles the js and css, checks the code style and update the build version.",
"watch": "Watch the js and css changes.",
"lint": "Check the js and css code style.",
"lint:fix": "Check the js and css code style and tries to fix it",
"build:js": "Compiles js and checks the js code style.",
"watch:js": "Compiles js and watches for changes.",
"lint:js": "Checks the js code style.",
"lint:js:fix": "Checks the js code style and tries to fix it.",
"build:css": "Compiles css and checks the css code style.",
"watch:css": "Compiles css and watches for changes.",
"lint:css": "Checks the css code style.",
"lint:css:fix": "Checks the css code style and tries to fix it.",
"update:version": "Update the build version which is used for static assets."
},
"dependencies": {
"@brainly/html-sketchapp": "^4.0.0",
"copy-to-clipboard": "^3.0.8",
"core-js": "^2.5.7",
"jquery": "^3.3.1"
},
"devDependencies": {
"autoprefixer": "^8.3.0",
"babel-core": "^6.26.0",
"babel-preset-env": "^1.6.1",
"babelify": "^8.0.0",
"browserify": "^16.2.0",
"cssnano": "^3.10.0",
"eslint": "^4.7.2",
"eslint-config-ma": "^1.0.0",
"node-sass": "^4.7.2",
"npm-scripts-info": "^0.3.6",
"onchange": "^3.2.1",
"parallelshell": "^3.0.1",
"postcss-cli": "^5.0.0",
"stylelint": "^9.2.0",
"stylelint-config-ma": "^1.0.0",
"uglify-js": "^3.1.1",
"watchify": "^3.9.0"
},
"peerDependencies": {
"stylelint": "^8.3.0 || ^9.0.0"
},
"browserslist": [
"> 1%",
"last 2 versions"
]
}