mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-04-19 00:09:17 +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\"",
|
"lint:js": "eslint \"11ty/**/*.js\"",
|
||||||
"serve": "concurrently \"npm run serve:site\" \"npm run watch:css\"",
|
"serve": "concurrently \"npm run serve:site\" \"npm run watch:css\"",
|
||||||
"serve:site": "eleventy --serve",
|
"serve:site": "eleventy --serve",
|
||||||
"test": "echo \"Error: no test specified\" && exit 1",
|
"test": "ava",
|
||||||
"watch": "eleventy --watch",
|
"watch": "eleventy --watch",
|
||||||
"watch:css": "parcel watch assets/css/base.scss --out-dir dist/assets/css/"
|
"watch:css": "parcel watch assets/css/base.scss --out-dir dist/assets/css/"
|
||||||
},
|
},
|
||||||
@ -40,6 +40,7 @@
|
|||||||
"prism-themes": "^1.3.0"
|
"prism-themes": "^1.3.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"ava": "^3.3.0",
|
||||||
"concurrently": "^5.0.0",
|
"concurrently": "^5.0.0",
|
||||||
"eslint": "^6.8.0",
|
"eslint": "^6.8.0",
|
||||||
"eslint-config-prettier": "^6.10.0",
|
"eslint-config-prettier": "^6.10.0",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user