-
-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathpackage.json
74 lines (74 loc) · 2.6 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
{
"name": "metismenujs",
"version": "1.4.0",
"description": "MetisMenu: Collapsible menu plugin with Vanilla-JS",
"main": "dist/metismenujs.js",
"module": "dist/metismenujs.esm.js",
"browser": "dist/metismenujs.min.js",
"unpkg": "dist/metismenujs.min.js",
"jsdelivr": "dist/metismenujs.min.js",
"typings": "./dist/types/index.d.ts",
"types": "dist/types/index.d.ts",
"sass": "scss/metismenujs.scss",
"style": "dist/metismenujs.css",
"files": [
"dist",
"src",
"scss"
],
"exports": {
".": {
"import": {
"types": "./dist/types/index.d.ts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/types/metismenujs.d.ts",
"default": "./dist/index.js"
}
},
"./package.json": "./package.json",
"./sass": "./scss/metismenujs.scss",
"./style": "./dist/metismenujs.css"
},
"scripts": {
"js:dev": "rollup -c -w",
"js:prod": "rollup -c",
"js:umd:min": "terser --compress typeofs=false --mangle --comments \"/^!/\" --source-map \"content=dist/metismenujs.js.map,includeSources,url=metismenujs.min.js.map\" --output dist/metismenujs.min.js dist/metismenujs.js",
"js:esm:min": "terser --compress typeofs=false --mangle --comments \"/^!/\" --source-map \"content=dist/metismenujs.esm.js.map,includeSources,url=metismenujs.esm.min.js.map\" --output dist/metismenujs.esm.min.js dist/metismenujs.esm.js",
"css:dev": "sass scss:docs/assets/css -w -s compressed",
"css:prod": "sass scss:dist",
"css:min": "sass scss/metismenujs.scss dist/metismenujs.min.css -s compressed",
"lint": "eslint src/*.ts",
"tsc": "tsc -p tsconfig.json --noEmit",
"build": "npm run lint && npm run tsc && npm run js:prod && npm run js:umd:min && npm run js:esm:min && npm run css:prod && npm run css:min"
},
"repository": "onokumus/metismenujs",
"keywords": [
"accordion",
"menu",
"metis",
"metisMenu",
"toggle"
],
"author": "Osman Nuri Okumus <onokumus@gmail.com> (https://github.com/onokumus)",
"license": "MIT",
"bugs": {
"url": "https://github.com/onokumus/metismenujs/issues"
},
"homepage": "https://github.com/onokumus/metismenujs#readme",
"devDependencies": {
"@rollup/plugin-typescript": "^11.0.0",
"@typescript-eslint/eslint-plugin": "^5.48.1",
"@typescript-eslint/parser": "^5.48.1",
"eslint": "^8.31.0",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-import": "^2.27.4",
"prettier": "^2.8.2",
"rollup": "^3.10.0",
"sass": "^1.57.1",
"terser": "^5.16.1",
"typescript": "^4.9.4"
}
}