File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1010 },
1111 "scripts" : {
1212 "test" : " jest" ,
13- "build" : " yarn cjs-build && yarn rollup-build && yarn copy-files-from-to" ,
13+ "pre-build-setup" : " rimraf ./demo && rimraf ./dist" ,
14+ "build" : " yarn pre-build-setup && yarn cjs-build && yarn rollup-build && yarn copy-files-from-to" ,
1415 "cjs-build" : " tsc" ,
1516 "rollup-build" : " rollup src/index.ts -c -f umd -o dist/umd/xslt-processor.js" ,
1617 "lint" : " eslint src/**/*"
5758 "npm-check-updates" : " ^16.10.13" ,
5859 "react" : " ^18.2.0" ,
5960 "release-it" : " ^15.11.0" ,
61+ "rimraf" : " ^5.0.1" ,
6062 "rollup" : " ^1.1.2" ,
6163 "rollup-plugin-buble" : " ^0.19.6" ,
6264 "rollup-plugin-commonjs" : " ^9.2.0" ,
7476 "from" : " LICENSE" ,
7577 "to" : " dist/LICENSE"
7678 },
77- {
78- "from" : " package.json" ,
79- "to" : " dist/package.json"
80- },
8179 {
8280 "from" : " README.md" ,
8381 "to" : " dist/README.md"
Original file line number Diff line number Diff line change 1717 " babel.config.js" ,
1818 " jest.config.ts" ,
1919 " rollup.config.js" ,
20+ " demo/**/*" ,
2021 " dist/**/*" ,
2122 " interactive-tests/js/**/*" ,
2223 " tests/**/*"
Original file line number Diff line number Diff line change 1616 " babel.config.js" ,
1717 " jest.config.ts" ,
1818 " rollup.config.js" ,
19+ " demo/**/*" ,
1920 " dist/**/*" ,
2021 " test_src/**/*" ,
2122 " tests/**/*"
Original file line number Diff line number Diff line change @@ -6330,7 +6330,7 @@ rimraf@^3.0.2:
63306330 dependencies :
63316331 glob "^7.1.3"
63326332
6333- rimraf@^5.0.0 :
6333+ rimraf@^5.0.0, rimraf@^5.0.1 :
63346334 version "5.0.1"
63356335 resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-5.0.1.tgz#0881323ab94ad45fec7c0221f27ea1a142f3f0d0"
63366336 integrity sha512-OfFZdwtd3lZ+XZzYP/6gTACubwFcHdLRqS9UX3UwpU2dnGQYkPFISRwvM3w9IiB2w7bW5qGo/uAwE4SmXXSKvg==
You can’t perform that action at this time.
0 commit comments