This repository was archived by the owner on Aug 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
92 lines (92 loc) · 2.95 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
{
"name": "@weltn24/minimap.js",
"version": "1.0.0-beta.1",
"description": "A minimap for web pages.",
"author": "Adrian Ramin",
"license": "MIT",
"files": [
"dist"
],
"main": "./dist/minimap.umd.js",
"module": "./dist/minimap.es.js",
"exports": {
".": {
"import": "./dist/minimap.es.js",
"require": "./dist/minimap.umd.js"
},
"./dist/styles/minimap.css": "./dist/styles/minimap.css",
"./dist/styles/themes/default-theme.css": "./dist/styles/themes/default-theme.css"
},
"types": "./dist/index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/spring-media/minimap.js"
},
"scripts": {
"build": "tsc && vite build && npm run build:types",
"build:types": "tsc --project tsconfig.types.json && move-cli ./dist/types/minimap.d.ts ./dist/index.d.ts && del-cli ./dist/types",
"commit": "cz",
"dev": "vite",
"eslint": "eslint 'src/**/*.ts'",
"eslint:fix": "eslint --fix 'src/**/*.ts'",
"lint": "npm run prettier && npm run eslint && npm run stylelint",
"lint:fix": "npm run prettier:fix && npm run eslint:fix && npm run stylelint:fix",
"prepare": "husky install",
"prettier": "prettier --check '**/*.{html,js,json,md,yml}'",
"prettier:fix": "prettier --write '**/*.{html,js,json,md,yml}'",
"preview": "vite preview",
"stylelint": "stylelint 'public/**/*.css'",
"stylelint:fix": "npm run stylelint -- --fix",
"test": "karma start"
},
"devDependencies": {
"@testing-library/jasmine-dom": "1.2.0",
"@types/jasmine": "3.5.14",
"@types/node": "17.0.23",
"@types/sinon": "10.0.11",
"@types/ws": "8.5.3",
"@typescript-eslint/eslint-plugin": "5.17.0",
"@typescript-eslint/parser": "5.17.0",
"cz-conventional-changelog": "3.3.0",
"del-cli": "4.0.1",
"eslint": "8.12.0",
"eslint-config-airbnb-base": "15.0.0",
"eslint-config-airbnb-typescript": "16.2.0",
"eslint-config-prettier": "8.5.0",
"eslint-import-resolver-typescript": "2.7.1",
"eslint-plugin-import": "2.25.4",
"eslint-plugin-prettier": "4.0.0",
"husky": "7.0.4",
"jasmine": "3.10.0",
"karma": "6.3.17",
"karma-chrome-launcher": "3.1.1",
"karma-jasmine": "4.0.2",
"karma-spec-reporter": "0.0.33",
"karma-typescript": "5.5.3",
"karma-viewport": "1.0.9",
"lint-staged": "12.3.7",
"modern-css-reset": "1.4.0",
"move-cli": "2.0.0",
"prettier": "2.6.2",
"puppeteer": "13.5.2",
"sass": "1.49.10",
"sinon": "13.0.1",
"stylelint": "14.6.1",
"stylelint-config-standard": "25.0.0",
"stylelint-config-standard-scss": "3.0.0",
"stylelint-order": "5.0.0",
"stylelint-scss": "4.2.0",
"typescript": "4.6.3",
"vite": "2.9.1"
},
"lint-staged": {
"*.{html,js,json,md,yml}": "npm run prettier:fix",
"src/**/*.ts": "npm run eslint:fix",
"src/**/*.css'": "npm run stylelint:fix"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}