Skip to content

Commit 0c76988

Browse files
committed
Update gitignore
1 parent 1ee0a74 commit 0c76988

File tree

4 files changed

+57
-8
lines changed

4 files changed

+57
-8
lines changed

.gitignore

Lines changed: 40 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
.DS_Store
1+
### Node ###
2+
23
# Logs
34
logs
45
*.log
@@ -42,8 +43,8 @@ build/Release
4243
node_modules/
4344
jspm_packages/
4445

45-
# Snowpack dependency directory (https://snowpack.dev/)
46-
web_modules/
46+
# TypeScript v1 declaration files
47+
typings/
4748

4849
# TypeScript cache
4950
*.tsbuildinfo
@@ -72,9 +73,11 @@ web_modules/
7273
# dotenv environment variables file
7374
.env
7475
.env.test
76+
.env*.local
7577

7678
# parcel-bundler cache (https://parceljs.org/)
7779
.cache
80+
.parcel-cache
7881

7982
# Next.js build output
8083
.next
@@ -107,5 +110,37 @@ dist
107110
# Stores VSCode versions used for testing VSCode extensions
108111
.vscode-test
109112

110-
# Local Netlify folder
111-
.netlify
113+
### OSX ###
114+
# General
115+
.DS_Store
116+
.AppleDouble
117+
.LSOverride
118+
119+
# Icon must end with two \r
120+
Icon
121+
122+
123+
# Thumbnails
124+
._*
125+
126+
# Files that might appear in the root of a volume
127+
.DocumentRevisions-V100
128+
.fseventsd
129+
.Spotlight-V100
130+
.TemporaryItems
131+
.Trashes
132+
.VolumeIcon.icns
133+
.com.apple.timemachine.donotpresent
134+
135+
# Directories potentially created on remote AFP share
136+
.AppleDB
137+
.AppleDesktop
138+
Network Trash Folder
139+
Temporary Items
140+
.apdisk
141+
142+
# End of https://www.toptal.com/developers/gitignore/api/osx,node
143+
144+
# CLI
145+
.netlify
146+
lib

netlify.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
publish = "demo"
55

66
[[plugins]]
7-
package = "./plugin/index.js"
7+
package = "./src/index.js"
88
[plugins.inputs]
99
# required config
1010
checkPaths = ['/']

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
"name": "netlify-plugin-a11y",
33
"version": "0.0.12",
44
"description": "Check for accessibility errors on critical pages of your Netlify website.",
5-
"main": "plugin/index.js",
5+
"main": "lib/index.js",
66
"dependencies": {
77
"pa11y": "^6.0.1",
88
"path-type": "^4.0.0",
99
"readdirp": "^3.6.0"
1010
},
1111
"scripts": {
12-
"build": "netlify build",
12+
"build": "tsc",
1313
"test": "jest",
1414
"test:staged": "CI=true jest --env=jsdom --findRelatedTests",
1515
"version": "auto-changelog -p --template keepachangelog && git add CHANGELOG.md",

tsconfig.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"compilerOptions": {
3+
"target": "ES2019",
4+
"module": "commonjs",
5+
"lib": ["ES2020"],
6+
"allowJs": true,
7+
"outDir": "./lib",
8+
"types": ["jest"],
9+
"esModuleInterop": true,
10+
"skipLibCheck": true /* Skip type checking of declaration files. */,
11+
"forceConsistentCasingInFileNames": true
12+
},
13+
"include": ["src/**/*.ts", "src/**/*.js"]
14+
}

0 commit comments

Comments
 (0)