-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
86 lines (86 loc) · 2.23 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
{
"name": "m-dropdown",
"version": "1.1.1",
"description": "Lightweight dropdown menu",
"main": "src/js/index.js",
"bugs": {
"url": "https://github.com/stbaer/m-dropdown/issues"
},
"author": {
"url": "https://github.com/stbaer",
"name": "Steffen Bär"
},
"repository": {
"type": "git",
"url": "stbaer/m-dropdown"
},
"license": "MIT",
"files": [
"src",
"standalone",
"index.html",
"example.html"
],
"keywords": [
"m-dropdown",
"dropdown",
"dropup",
"menu"
],
"dependencies": {
},
"devDependencies": {
"autoprefixer": "^6.3.6",
"beefy": "latest",
"browserify": "^13.0.0",
"cssify": "^1.0.2",
"jshint": "latest",
"mkdirp": "^0.5.1",
"postcss-cli": "^2.5.2",
"uglify-js": "latest"
},
"scripts": {
"styles:prefix": "mkdirp src/styles/prefixed && postcss --use autoprefixer src/styles/main.css -d src/styles/prefixed",
"uglify:standalone": "uglifyjs ./standalone/m-dropdown.js --screw-ie8 -cm > ./standalone/m-dropdown.min.js",
"uglify": "npm run uglify:standalone && npm run show-gzipped-minjs-size",
"show-gzipped-minjs-size": "echo \"js minified and gzipped: \" && gzip -c standalone/m-dropdown.min.js | wc -c",
"example": "beefy test/visual.js --index=example.html --live",
"example-standalone": "beefy --index=exampleStandalone.html",
"clean": "rm -rf standalone",
"jshint": "jshint src/**/*.js",
"build": "npm run jshint && npm run clean && mkdirp standalone && npm run styles:prefix && browserify src/js/index.js --standalone mDropdown > standalone/m-dropdown.js && npm run uglify",
"start": "npm run build && npm run example"
},
"browserify": {
"transform": [
"cssify"
]
},
"jshintConfig": {
"node": true,
"bitwise": true,
"camelcase": true,
"curly": true,
"eqeqeq": true,
"forin": true,
"freeze": true,
"immed": true,
"latedef": true,
"newcap": true,
"noarg": true,
"sub": true,
"eqnull": true,
"browser": true,
"laxcomma": true,
"trailing": true,
"smarttabs": true,
"nonew": true,
"quotmark": false,
"nonbsp": true,
"undef": true,
"unused": "vars",
"globals": {
"console": false
}
}
}