diff --git a/packages/storycap/.npmignore b/packages/storycap/.npmignore deleted file mode 100644 index 97882f8a4..000000000 --- a/packages/storycap/.npmignore +++ /dev/null @@ -1,5 +0,0 @@ -__screenshots__/ -src/ -decl/ -tsconfig.json -tsconfig.build.json diff --git a/packages/storycap/package.json b/packages/storycap/package.json index 8644f8c78..feccbf9f9 100644 --- a/packages/storycap/package.json +++ b/packages/storycap/package.json @@ -25,7 +25,7 @@ "storycap": "lib/node/cli.js" }, "scripts": { - "clean": "rimraf lib lib-esm \"*.tsbuildinfo\"", + "clean": "rimraf -g lib lib-esm \"*.tsbuildinfo\"", "build": "yarn build:cjs && yarn build:esm", "build:cjs": "tsc --p tsconfig.build.cjs.json", "build:esm": "tsc --p tsconfig.build.esm.json", diff --git a/packages/storycrawler/.npmignore b/packages/storycrawler/.npmignore deleted file mode 100644 index 826f3a6fd..000000000 --- a/packages/storycrawler/.npmignore +++ /dev/null @@ -1,4 +0,0 @@ -__screenshots__/ -src/ -tsconfig.json -tsconfig.build.json diff --git a/packages/storycrawler/package.json b/packages/storycrawler/package.json index 807a249f2..3253b7321 100644 --- a/packages/storycrawler/package.json +++ b/packages/storycrawler/package.json @@ -8,7 +8,7 @@ "main": "lib/index.js", "typings": "lib/index.d.ts", "scripts": { - "clean": "rimraf lib \"*.tsbuildinfo\"", + "clean": "rimraf -g lib \"*.tsbuildinfo\"", "build": "tsc -p tsconfig.build.json", "jest": "jest", "test": "npm run jest",