diff --git a/package.json b/package.json index 10afcc9..fcaa873 100644 --- a/package.json +++ b/package.json @@ -12,8 +12,8 @@ "docs:lint": "documentation lint dist/src/**", "docs:deploy": "npm run docs && cp -r .circleci docs && gh-pages -d docs -t", "docs": "rm -rf docs/ dist/ && npm run dev && documentation build dist/src/** -f html -o docs", - "build": "rm -rf dist/ libs/ && tsc && bili --format cjs --filename '[name].js'", - "dev": "rm -rf dist/ && tsc", + "build": "npm run dev && bili --format cjs --filename '[name].js' --exports 'named'", + "dev": "rm -rf dist/ libs/ && tsc", "test:unit": "jest", "postversion": "npm run build && npm run docs:deploy", "postbuild": "cp dist/*.d.ts libs"