-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpackage.json
More file actions
70 lines (70 loc) · 1.87 KB
/
Copy pathpackage.json
File metadata and controls
70 lines (70 loc) · 1.87 KB
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
{
"name": "cta-modal",
"version": "1.1.1",
"description": "Web Component call to action modal",
"author": "Nathan Smith",
"license": "MIT",
"homepage": "https://github.com/nathansmith/cta-modal#readme",
"keywords": [
"a11y",
"accessibility",
"aria-modal",
"modal",
"webcomponent",
"webcomponents"
],
"main": "dist/cta-modal.js",
"files": [
"dist"
],
"repository": {
"type": "git",
"url": "git@github.com:nathansmith/cta-modal.git"
},
"scripts": {
"build": "npm run test-coverage && node ./scripts/build",
"build-html": "node ./scripts/build-html",
"build-dist": "node ./scripts/build-dist",
"format": "node ./scripts/format",
"postbuild": "node ./scripts/postbuild",
"postbuild-dist": "node ./scripts/postbuild-dist",
"postbuild-html": "node ./scripts/postbuild-html",
"prebuild-dist": "rimraf ./dist",
"prebuild-html": "rimraf ./html",
"prepublishOnly": "npm run build",
"prepare": "node ./scripts/prepare",
"start": "vite",
"test": "jest",
"test-coverage": "jest --coverage --silent"
},
"devDependencies": {
"@babel/core": "^7.17.8",
"@babel/preset-env": "^7.16.11",
"@babel/preset-typescript": "^7.16.7",
"@types/jest": "^27.4.1",
"@typescript-eslint/eslint-plugin": "^5.17.0",
"esbuild": "^0.14.30",
"eslint": "^8.12.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"fs-extra": "^10.0.1",
"html-minifier": "^4.0.0",
"husky": "^7.0.4",
"jest": "^27.5.1",
"lint-staged": "^12.3.7",
"prettier": "^2.6.2",
"rimraf": "^3.0.2",
"terser": "^5.15.0",
"typescript": "^4.6.3",
"vite": "^3.1.0"
},
"lint-staged": {
"*.{css,html,js,json,md,scss,ts}": "prettier --write"
},
"jest": {
"collectCoverageFrom": [
"<rootDir>/src/**/*"
],
"testEnvironment": "jsdom"
}
}