-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
71 lines (71 loc) · 2.3 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
{
"name": "student-site-boilerplate",
"description": "A modern boilerplate for static website development, based on https://staticsiteboilerplate.com/",
"version": "1.1.0",
"homepage": "https://github.com/ProfessorKolodziej/student-site-boilerplate",
"author": {
"name": "Ashley Kolodziej",
"url": "https://ashleykolodziej.com/"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ProfessorKolodziej/student-site-boilerplate.git"
},
"keywords": [
"html5",
"css3",
"es6"
],
"scripts": {
"start": "cross-env live-server src",
"lint:html": "echo \"Validating your HTML...\" && html-validate --config .htmlvalidate.json \"src\" && chalk green --no-stdin \"✓ No errors found in your HTML\n\n\"",
"lint": "npm run lint:html",
"fix": "eslint --fix \"src/**/*.js\" -f ./config/formatter.eslint.js && chalk green --no-stdin \"✓ Attempted to automatically fix JavaScript errors\n\" && stylelint --fix \"src/**/*.css\" && chalk green --no-stdin \"✓ Attempted to automatically fix CSS errors\n\" && echo \"\nAll set! Run 'npm run lint' to check for errors \nthat need to be fixed manually.\n\"",
"deploy": "gh-pages -d src",
"test": "npm run lint && echo \"Checking assignment requirements...\" && jest && chalk green --no-stdin \"✓ All tests passed. Nice work!\""
},
"devDependencies": {
"chalk-cli": "^5.0.1",
"cross-env": "^7.0.3",
"file-loader": "^6.2.0",
"gh-pages": "^5.0.0",
"live-server": "^1.2.2"
},
"dependencies": {
"cm523-unit-tests": "github:ProfessorKolodziej/cm523-unit-tests",
"html-validate": "^8.0.5",
"jest": "^29.5.0"
},
"jest": {
"clearMocks": true,
"testMatch": [
"**/?(*.)+(spec|test).[jt]s?(x)"
],
"testPathIgnorePatterns": [
"/node_modules/(?!(cm523-unit-tests)/your-favorite-recipe)"
],
"transformIgnorePatterns": [
"/node_modules/(?!(cm523-unit-tests)/your-favorite-recipe)"
],
"haste": {
"retainAllFiles": true
},
"transform": {
"\\.js$": [
"babel-jest",
{
"configFile": "./node_modules/cm523-unit-tests/babel.config.js"
}
]
}
},
"eslintConfig": {
"env": {
"browser": true,
"node": true
}
},
"stylelint": {
"extends": "stylelint-config-standard"
}
}