diff --git a/package.json b/package.json index 15338a95..b7d6b1f2 100644 --- a/package.json +++ b/package.json @@ -7,10 +7,10 @@ "scripts": { "example": "node examples/schema_test.js", "build": "npm-run-all build:clean build:generate build:tsc build:copy build:doc", - "build:clean": "rm -rf types dist docs intermediate generated", + "build:clean": "rimraf types dist docs intermediate generated", "build:generate": "node scripts/generate.js", "build:tsc": "tsc", - "build:copy": "cp -r intermediate/{generated,src}/* dist/", + "build:copy": "cpy \"intermediate/generated/**\" \"intermediate/src/**\" dist/", "build:doc": "typedoc --plugin typedoc-plugin-markdown", "prepublishOnly": "npm run build", "test": "tape 'test/**/*.js'"