-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
89 lines (89 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{
"name": "priority-plus",
"version": "0.0.0-semantically-released",
"description": "A modern implementation of the priority plus navigation pattern.",
"type": "module",
"module": "dist/priority-plus.esm.js",
"browser": "dist/priority-plus.js",
"exports": {
"./dist/priority-plus.css": "./dist/priority-plus.css",
".": {
"import": "./dist/priority-plus.esm.js",
"default": "./dist/priority-plus.js"
}
},
"types": "dist/types/priorityPlus.d.ts",
"scripts": {
"dev": "esbuild src/browser.ts --bundle --sourcemap --format=iife --servedir=www --outdir=www/assets",
"prebuild": "rimraf dist",
"build": "concurrently \"npm:build:*\"",
"build:esm": "esbuild src/priorityPlus.ts --bundle --minify --format=esm --outfile=dist/priority-plus.esm.js",
"build:iife": "esbuild src/browser.ts --bundle --minify --format=iife --outfile=dist/priority-plus.js",
"build:types": "tsc --emitDeclarationOnly --declarationDir dist/types",
"test": "npm run test:types && npm run test:lint && npm run test:e2e",
"test:types": "tsc --noEmit",
"test:lint": "tslint -c tslint.json 'src/**/*.ts'",
"test:e2e": "concurrently -k -s first \"npm:dev\" \"cypress run\""
},
"repository": {
"type": "git",
"url": "git+https://github.com/jayfreestone/priority-plus.git"
},
"author": {
"name": "Jay Freestone",
"email": "[email protected]",
"url": "https://www.jayfreestone.com/"
},
"license": "ISC",
"bugs": {
"url": "https://github.com/jayfreestone/priority-plus/issues"
},
"homepage": "https://github.com/jayfreestone/priority-plus#readme",
"dependencies": {},
"devDependencies": {
"@babel/core": "^7.20.12",
"@babel/preset-env": "^7.20.2",
"@cypress/webpack-preprocessor": "^5.16.1",
"@types/chai": "^4.3.4",
"@types/mocha": "^10.0.1",
"babel-loader": "^9.1.2",
"concurrently": "^7.6.0",
"cypress": "^12.3.0",
"esbuild": "^0.17.3",
"rimraf": "^4.1.1",
"ts-loader": "^9.4.2",
"tslib": "^2.4.1",
"tslint": "^6.1.2",
"typescript": "^4.9.4",
"wait-on": "^7.0.1",
"webpack": "^5.75.0"
},
"keywords": [
"navigation",
"menu",
"responsive",
"priority"
],
"bundlesize": [
{
"path": "./dist/priority-plus.*.js",
"maxSize": "2.5 kB"
}
],
"release": {
"branches": ["master"],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/npm",
[
"@semantic-release/github",
{
"assets": [
"dist/**/*"
]
}
]
]
}
}