File tree Expand file tree Collapse file tree 12 files changed +13
-13
lines changed Expand file tree Collapse file tree 12 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 29
29
" LICENSE"
30
30
],
31
31
"scripts" : {
32
- "build" : " yarn build:rollup" ,
32
+ "build" : " yarn prebuild && yarn build:rollup" ,
33
33
"build:rollup" : " yarn g:rollup --config" ,
34
34
"check:esm" : " node --input-type=module --eval 'import \" @aws-amplify/ui-react-ai\" '" ,
35
35
"clean" : " yarn g:rimraf dist node_modules" ,
Original file line number Diff line number Diff line change 23
23
" LICENSE"
24
24
],
25
25
"scripts" : {
26
- "build" : " yarn build:rollup" ,
26
+ "build" : " yarn prebuild && yarn build:rollup" ,
27
27
"build:rollup" : " yarn g:rollup --config" ,
28
28
"check:esm" : " node --input-type=module --eval 'import \" @aws-amplify/ui-react-core-notifications\" '" ,
29
29
"clean" : " yarn g:rimraf dist node_modules" ,
Original file line number Diff line number Diff line change 30
30
],
31
31
"scripts" : {
32
32
"clean" : " yarn g:rimraf dist node_modules" ,
33
- "build" : " yarn g:rollup --config" ,
33
+ "build" : " yarn prebuild && yarn g:rollup --config" ,
34
34
"check:esm" : " node --input-type=module --eval 'import \" @aws-amplify/ui-react-core\" '" ,
35
35
"dev" : " yarn build --watch" ,
36
36
"lint" : " yarn typecheck && eslint ." ,
Original file line number Diff line number Diff line change 26
26
" LICENSE"
27
27
],
28
28
"scripts" : {
29
- "build" : " yarn build:rollup" ,
29
+ "build" : " yarn prebuild && yarn build:rollup" ,
30
30
"build:rollup" : " yarn g:rollup --config" ,
31
31
"check:esm" : " node --input-type=module --eval 'import \" @aws-amplify/ui-react-geo\" '" ,
32
32
"clean" : " yarn g:rimraf dist node_modules" ,
Original file line number Diff line number Diff line change 29
29
" LICENSE"
30
30
],
31
31
"scripts" : {
32
- "build" : " yarn build:rollup" ,
32
+ "build" : " yarn prebuild && yarn build:rollup" ,
33
33
"build:rollup" : " yarn g:rollup --config" ,
34
34
"check:esm" : " node --input-type=module --eval 'import \" @aws-amplify/ui-react-liveness\" '" ,
35
35
"clean" : " yarn g:rimraf dist node_modules" ,
Original file line number Diff line number Diff line change 7
7
"types" : " dist/index.d.ts" ,
8
8
"license" : " Apache-2.0" ,
9
9
"scripts" : {
10
- "build" : " yarn build:cjs && yarn build:esm" ,
10
+ "build" : " yarn prebuild && yarn build:cjs && yarn build:esm" ,
11
11
"build:cjs" : " yarn g:tsc --project tsconfig.cjs.json && cp -a src/assets/icons lib/assets" ,
12
12
"build:esm" : " yarn g:tsc --project tsconfig.esm.json && cp -a src/assets/icons dist/assets" ,
13
13
"clean" : " yarn g:rimraf dist" ,
Original file line number Diff line number Diff line change 26
26
" LICENSE"
27
27
],
28
28
"scripts" : {
29
- "build" : " yarn build:rollup" ,
29
+ "build" : " yarn prebuild && yarn build:rollup" ,
30
30
"build:rollup" : " yarn g:rollup --config" ,
31
31
"check:esm" : " node --input-type=module --eval 'import \" @aws-amplify/ui-react-notifications\" '" ,
32
32
"clean" : " yarn g:rimraf dist node_modules" ,
Original file line number Diff line number Diff line change 32
32
" browser"
33
33
],
34
34
"scripts" : {
35
- "build" : " yarn build:rollup" ,
35
+ "build" : " yarn prebuild && yarn build:rollup" ,
36
36
"build:rollup" : " yarn g:rollup --config" ,
37
37
"check:esm" : " node --input-type=module --eval 'import \" @aws-amplify/ui-react-storage\" '" ,
38
38
"clean" : " yarn g:rimraf dist node_modules" ,
Original file line number Diff line number Diff line change 41
41
" LICENSE"
42
42
],
43
43
"scripts" : {
44
- "build" : " yarn build:catalog && yarn build:CSS && yarn build:rollup" ,
44
+ "build" : " yarn prebuild && yarn build:catalog && yarn build:CSS && yarn build:rollup" ,
45
45
"build:catalog" : " yarn node -r esbuild-register scripts/generatePrimitiveCatalog.ts" ,
46
46
"build:CSS" : " yarn node -r esbuild-register scripts/copyCSS.ts" ,
47
47
"build:rollup" : " yarn g:rollup --config" ,
48
48
"check:esm" : " node --input-type=module --eval 'import \" @aws-amplify/ui-react\" '" ,
49
49
"clean" : " yarn g:rimraf dist node_modules" ,
50
50
"dev" : " yarn build:rollup --watch" ,
51
51
"lint" : " yarn typecheck && eslint ." ,
52
- "prebuild" : " rimraf dist" ,
52
+ "prebuild" : " yarn g: rimraf dist" ,
53
53
"size" : " yarn g:size-limit" ,
54
54
"test" : " yarn g:jest" ,
55
55
"test:watch" : " yarn test --watch" ,
Original file line number Diff line number Diff line change 17
17
" src"
18
18
],
19
19
"scripts" : {
20
- "build" : " yarn build:dist" ,
20
+ "build" : " yarn prebuild && yarn build:dist" ,
21
21
"build:dist" : " yarn g:rollup --config" ,
22
22
"clean" : " yarn g:rimraf dist node_modules" ,
23
23
"dev" : " yarn build --watch" ,
You can’t perform that action at this time.
0 commit comments