34 lines
667 B
JSON
34 lines
667 B
JSON
|
{
|
||
|
"name": "@puppeteer/mocha-runner",
|
||
|
"version": "0.1.0",
|
||
|
"type": "commonjs",
|
||
|
"private": true,
|
||
|
"bin": "./bin/mocha-runner.js",
|
||
|
"description": "Mocha runner for Puppeteer",
|
||
|
"license": "Apache-2.0",
|
||
|
"scripts": {
|
||
|
"build": "wireit",
|
||
|
"test": "wireit",
|
||
|
"clean": "../clean.js"
|
||
|
},
|
||
|
"wireit": {
|
||
|
"build": {
|
||
|
"command": "tsc -b && chmod +x ./bin/mocha-runner.js",
|
||
|
"clean": "if-file-deleted",
|
||
|
"files": [
|
||
|
"src/**"
|
||
|
],
|
||
|
"output": [
|
||
|
"bin/**",
|
||
|
"tsconfig.tsbuildinfo"
|
||
|
]
|
||
|
},
|
||
|
"test": {
|
||
|
"command": "c8 node ./bin/test.js",
|
||
|
"dependencies": [
|
||
|
"build"
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
}
|