forked from oncode/handorgel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
139 lines (139 loc) · 5.06 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
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
{
"name": "handorgel",
"version": "0.4.9",
"description": "Accessible W3C conform accordion written in ES6.",
"main": "lib/js/umd/handorgel.js",
"module": "lib/js/esm/handorgel.js",
"jsnext:main": "lib/js/esm/handorgel.js",
"repository": {
"type": "git",
"url": "https://github.com/oncode/handorgel.git"
},
"keywords": [
"a11y",
"accordion",
"accessible"
],
"author": "Manuel Sommerhalder",
"license": "MIT",
"scripts": {
"build": "run-s compile minify",
"compile": "run-p compile:*",
"compile:scripts": "cross-env INPUT_PATH='src/js' OUTPUT_PATH='lib/js' rollup --config '.config/rollup.config.js'",
"compile:styles": "node-sass 'src/scss' --include-path 'node_modules' --output 'src/scss/.css' --output-style 'expanded' && postcss 'src/scss/.css/style.css' --output 'lib/css/handorgel.css' --no-map --config '.config/postcss.config.js'",
"minify": "run-p minify:*",
"minify:js": "run-p minify:js:*",
"minify:js:stage2": "uglifyjs 'lib/js/handorgel.js' --compress --mangle --toplevel --output 'lib/js/handorgel.min.js' --comments '/@preserve|@license|@cc_on/i'",
"minify:js:umd": "uglifyjs 'lib/js/umd/handorgel.js' --compress --mangle --toplevel --output 'lib/js/umd/handorgel.min.js' --comments '/@preserve|@license|@cc_on/i'",
"minify:js:esm": "uglifyjs 'lib/js/esm/handorgel.js' --compress --mangle --toplevel --output 'lib/js/esm/handorgel.min.js' --comments '/@preserve|@license|@cc_on/i'",
"minify:css": "cross-env NODE_ENV='minified' postcss 'lib/css/handorgel.css' --output 'lib/css/handorgel.min.css' --no-map --config '.config/postcss.config.js'",
"format": "run-p format:*",
"format:js": "prettier 'src/js/**/*.js' --write && eslint 'src/js' --fix",
"format:sass": "prettier 'src/scss/**/*.scss' --write && stylelint 'src/scss/**/*.scss' --fix --syntax 'scss'",
"test": "run-p bundlesize lint",
"bundlesize": "bundlesize",
"lint": "run-p lint:*",
"lint:js": "eslint 'src/js'",
"lint:sass": "stylelint 'src/scss/**/*.scss' --syntax 'scss'",
"demo": "run-p demo:*",
"demo:watch": "run-p demo:watch:*",
"demo:watch:js": "cross-env DEMO_PATH='docs' rollup --config '.config/demo/rollup.config.js' --watch",
"demo:watch:sass": "node-sass 'docs/scss' --include-path 'node_modules' --output 'docs/scss/.css' --watch --recursive",
"demo:watch:postcss": "postcss --config '.config/postcss.config.js' 'docs/scss/.css/demo.css' --output 'docs/css/demo.css' --no-map --watch",
"demo:browsersync": "cross-env DEMO_PATH='docs' browser-sync start --config '.config/demo/browsersync.config.js'",
"prepublishOnly": "run-p format test build"
},
"devDependencies": {
"@babel/core": "^7.2.2",
"@babel/plugin-proposal-class-properties": "^7.2.3",
"@babel/plugin-proposal-decorators": "^7.2.3",
"@babel/plugin-proposal-export-namespace-from": "^7.2.0",
"@babel/plugin-proposal-function-sent": "^7.2.0",
"@babel/plugin-proposal-json-strings": "^7.2.0",
"@babel/plugin-proposal-numeric-separator": "^7.2.0",
"@babel/plugin-proposal-throw-expressions": "^7.2.0",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/plugin-syntax-import-meta": "^7.2.0",
"@babel/preset-env": "^7.2.3",
"autoprefixer": "^9.4.3",
"browser-sync": "^2.26.3",
"bundlesize": "^0.17.0",
"cross-env": "^5.2.0",
"css-mqpacker": "^7.0.0",
"cssnano": "^4.1.7",
"eslint": "^5.10.0",
"eslint-config-prettier": "^3.3.0",
"eslint-config-standard": "^12.0.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-node": "^8.0.0",
"eslint-plugin-prettier": "^3.0.0",
"eslint-plugin-promise": "^4.0.1",
"eslint-plugin-standard": "^4.0.0",
"husky": "^1.2.1",
"node-sass": "^4.11.0",
"npm-run-all": "^4.1.5",
"postcss-assets": "^5.0.0",
"postcss-cli": "^6.1.0",
"postcss-import": "^12.0.1",
"postcss-pxtorem": "^4.0.1",
"prettier": "^1.15.3",
"rollup": "^0.68.1",
"rollup-plugin-babel": "^4.1.0",
"rollup-plugin-commonjs": "^9.2.0",
"rollup-plugin-node-resolve": "^4.0.0",
"stylelint": "^9.9.0",
"stylelint-config-idiomatic-order": "^6.2.0",
"stylelint-config-prettier": "^4.0.0",
"stylelint-scss": "^3.4.2",
"uglify-es": "^3.3.9"
},
"dependencies": {
"ev-emitter": "^1.1.1"
},
"browserslist": [
"> 5%",
"last 2 versions",
"ie 10-11"
],
"bundlesize": [
{
"path": "./lib/js/umd/handorgel.min.js",
"maxSize": "3.5 kB"
}
],
"prettier": {
"printWidth": 100,
"singleQuote": true,
"semi": false
},
"eslintConfig": {
"extends": [
"standard",
"prettier"
],
"plugins": [
"prettier"
],
"rules": {
"prettier/prettier": "error"
}
},
"stylelint": {
"extends": [
"stylelint-config-idiomatic-order",
"stylelint-config-prettier"
],
"plugins": [
"stylelint-scss"
]
},
"husky": {
"hooks": {
"pre-commit": "run-p format test"
}
},
"bugs": {
"url": "https://github.com/oncode/handorgel/issues"
},
"homepage": "https://github.com/oncode/handorgel"
}