mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-04-16 07:19:16 +00:00
chore: set up ava
# Conflicts: # package-lock.json # package.json
This commit is contained in:
parent
e7002614c1
commit
d2f7547d2d
5
ava.config.js
Normal file
5
ava.config.js
Normal file
@ -0,0 +1,5 @@
|
||||
export default {
|
||||
files: ['./**/*.spec.js'],
|
||||
require: ['esm'],
|
||||
verbose: true
|
||||
};
|
@ -13,7 +13,7 @@
|
||||
"lint:js": "eslint \"11ty/**/*.js\"",
|
||||
"serve": "concurrently \"npm run serve:site\" \"npm run watch:css\"",
|
||||
"serve:site": "eleventy --serve",
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"test": "ava",
|
||||
"watch": "eleventy --watch",
|
||||
"watch:css": "parcel watch assets/css/base.scss --out-dir dist/assets/css/"
|
||||
},
|
||||
@ -40,6 +40,7 @@
|
||||
"prism-themes": "^1.3.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"ava": "^3.3.0",
|
||||
"concurrently": "^5.0.0",
|
||||
"eslint": "^6.8.0",
|
||||
"eslint-config-prettier": "^6.10.0",
|
||||
|
Loading…
x
Reference in New Issue
Block a user