Ghost/ghost/html-to-plaintext/package.json
Daniel Lockyer 54aa9f016b Fixed full Admin test suite running during unit tests
- because of how the npm scripts were set up, we were running the full
  Admin integration tests during the unit tests phase of CI
- this commit renames the majority of `test` to `test:unit` in the
  package.json files, and aliases `test` to `test:unit`
- special packages like Admin have no-op'd `test:unit` scripts so we
  don't end up running its tests
2022-08-15 15:34:52 +02:00

29 lines
810 B
JSON

{
"name": "@tryghost/html-to-plaintext",
"version": "0.0.0",
"repository": "https://github.com/TryGhost/Ghost/tree/main/packages/html-to-plaintext",
"author": "Ghost Foundation",
"private": true,
"main": "index.js",
"files": [
"index.js",
"lib"
],
"scripts": {
"dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --check-coverage --reporter text --reporter cobertura mocha './test/**/*.test.js'",
"test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test",
"lint:test": "eslint -c test/.eslintrc.js test/ --ext .js --cache"
},
"devDependencies": {
"c8": "7.12.0",
"mocha": "10.0.0"
},
"dependencies": {
"html-to-text": "8.2.1",
"lodash": "4.17.21"
}
}