File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 2121 - name : Build source
2222 run : yarn build
2323 - name : Publish package
24- run : yarn publish --access public
24+ run : yarn publish dist --access public
2525 env :
2626 # Create your own token at https://github.com/organization/repository/settings/secrets
2727 NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
Original file line number Diff line number Diff line change 77 "license" : " MIT" ,
88 "author" : " <%- elementAuthor %>" ,
99 "repository" : " <%= elementRepository %>" ,
10- "main" : " dist/index.js" ,
11- "typings" : " dist/index.d.ts" ,
12- "files" : [
13- " dist"
14- ],
10+ "main" : " index.js" ,
11+ "typings" : " index.d.ts" ,
1512 "scripts" : {
1613 "purge" : " rm -rf node_modules" ,
1714 "clean" : " rm -rf dist" ,
2118 "lint" : " tslint --project tsconfig.json --config tslint.json" ,
2219 "prebuild" : " yarn clean" ,
2320 "build" : " rollup -c" ,
21+ "postbuild" : " copyfiles CHANGELOG.md LICENSE package.json README.md dist" ,
2422 "release" : " standard-version --no-verify" ,
2523 "release:major" : " yarn release --release-as major" ,
2624 "release:minor" : " yarn release --release-as minor" ,
2725 "release:patch" : " yarn release --release-as patch"
2826 },
2927 "devDependencies" : {
3028 "@boringcodes/prettier-config" : " *" ,
29+ "copyfiles" : " ^2.2.0" ,
3130 "husky" : " ^2.3.0" ,
3231 "prettier" : " ^2.0.2" ,
3332 "pretty-quick" : " ^2.0.1" ,
You can’t perform that action at this time.
0 commit comments