Skip to content

Commit c4c4eb1

Browse files
Move to Ava 2.x (#200)
1 parent 0ebe34d commit c4c4eb1

39 files changed

+21
-15
lines changed

package.json

Lines changed: 21 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
"description": "Rollup + Google Closure Compiler",
55
"main": "dist/index.js",
66
"jsnext:main": "dist/index.mjs",
7+
"files": [
8+
"dist"
9+
],
710
"repository": {
811
"type": "git",
912
"url": "https://github.com/ampproject/rollup-plugin-closure-compiler.git"
@@ -18,7 +21,7 @@
1821
"license": "Apache-2.0",
1922
"scripts": {
2023
"pretest": "rimraf dist transpile && tsc -p tsconfig.test.json & wait",
21-
"test": "ava -v test/**/*.js",
24+
"test": "ava",
2225
"build": "rimraf dist transpile && tsc -p tsconfig.json & wait",
2326
"postbuild": "rollup --config rollup.config.js",
2427
"lint": "tslint -c tslint.json -p tsconfig.json",
@@ -29,32 +32,29 @@
2932
"rollup": ">= 0.67.4"
3033
},
3134
"dependencies": {
32-
"acorn": "6.1.1",
35+
"acorn": "6.2.0",
3336
"acorn-dynamic-import": "4.0.0",
34-
"acorn-walk": "6.1.1",
37+
"acorn-walk": "6.2.0",
3538
"google-closure-compiler": "20190618.0.0",
36-
"magic-string": "0.25.2",
39+
"magic-string": "0.25.3",
3740
"temp-write": "4.0.0"
3841
},
3942
"devDependencies": {
4043
"@types/acorn": "4.0.5",
4144
"@types/estree": "0.0.39",
4245
"@types/temp-write": "3.3.0",
43-
"ava": "1.4.1",
44-
"builtins": "2.0.0",
45-
"husky": "2.2.0",
46-
"lint-staged": "8.1.7",
47-
"np": "5.0.1",
48-
"prettier": "1.17.0",
46+
"ava": "2.2.0",
47+
"builtins": "2.0.1",
48+
"husky": "3.0.0",
49+
"lint-staged": "9.2.0",
50+
"np": "5.0.3",
51+
"prettier": "1.18.2",
4952
"rimraf": "2.6.3",
5053
"rollup": "0.67.4",
5154
"rollup-plugin-copy": "2.0.1",
52-
"tslint": "5.16.0",
53-
"typescript": "3.4.5"
55+
"tslint": "5.18.0",
56+
"typescript": "3.5.3"
5457
},
55-
"files": [
56-
"dist"
57-
],
5858
"lint-staged": {
5959
"*.ts": [
6060
"npm run lint --fix",
@@ -67,5 +67,11 @@
6767
"pre-push": "npm run test && npm run build",
6868
"pre-commit": "lint-staged"
6969
}
70+
},
71+
"ava": {
72+
"files": [
73+
"test/**/*.test.js"
74+
],
75+
"verbose": true
7076
}
7177
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)