Skip to content

Commit fb2c5fc

Browse files
committed
checkpoint
1 parent 3d92c1f commit fb2c5fc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+4507
-984
lines changed

ava.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module.exports = {
2+
extensions: ['ts'],
3+
files: ['!**/fixtures/**', '!**/helpers/**', '!**/rewiremock.js'],
4+
require: ['ts-node/register', './test/rewiremock.js']
5+
};

package.json

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -22,22 +22,25 @@
2222
"check-types": "tsc --noEmit",
2323
"lint-staged": "lint-staged",
2424
"security": "npm audit --audit-level=high --prod",
25-
"test": "ava"
25+
"test": "ava test/variable.ts"
2626
},
2727
"files": [
2828
"dist",
2929
"LICENSE",
3030
"README.md"
3131
],
3232
"dependencies": {
33+
"@types/color-name": "^1.1.1",
3334
"@types/css-tree": "^1.0.7",
35+
"@types/node": "^18.0.3",
3436
"color-name": "^1.1.4",
3537
"css-tree": "^2.1.0",
3638
"is-url-superb": "^4.0.0",
37-
"quote-unquote": "^1.0.0"
39+
"quote-unquote": "^1.0.0",
40+
"ts-node": "^10.8.2"
3841
},
3942
"devDependencies": {
40-
"ava": "^3.12.1",
43+
"ava": "^4.3.0",
4144
"chalk": "^4.1.0",
4245
"eslint-config-shellscape": "^5.0.2",
4346
"globby": "^11.0.1",
@@ -65,16 +68,6 @@
6568
"parsing",
6669
"properties"
6770
],
68-
"ava": {
69-
"files": [
70-
"!**/fixtures/**",
71-
"!**/helpers/**",
72-
"!**/rewiremock.js"
73-
],
74-
"require": [
75-
"./test/rewiremock.js"
76-
]
77-
},
7871
"lint-staged": {
7972
"*.js": [
8073
"eslint --fix"

0 commit comments

Comments
 (0)