Skip to content

Commit 95d8d7a

Browse files
committed
Fix css copy messing up build
1 parent c952f9d commit 95d8d7a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88
"dist/**/*"
99
],
1010
"scripts": {
11-
"build": "cp ./src/css/*.css ./dist && tsc",
11+
"build": "tsc && cp ./src/css/*.css dist/",
1212
"clean": "rm -rf ./dist/",
1313
"semantic-release": "semantic-release",
1414
"typecheck": "tsc --noEmit",
1515
"notion-download": "node dist/index.js",
1616
"test": "ts-node --compiler-options \"{\\\"module\\\": \\\"commonjs\\\"}\" src/index.ts",
1717
"// test out with my sample notion db": "",
18-
"sample": "cross-var ts-node --compiler-options \"{\\\"module\\\": \\\"commonjs\\\"}\" src/index.ts -n %NOTION_PULL_INTEGRATION_TOKEN% -r %NOTION_PULL_ROOT_PAGE% -m ./temp -i ./temp_img/inner -p /inner/",
18+
"sample": "cross-var ts-node --compiler-options \"{\\\"module\\\": \\\"commonjs\\\"}\" src/index.ts -n %NOTION_PULL_INTEGRATION_TOKEN% -r %NOTION_PULL_ROOT_PAGE% -m ./sample -i ./sample_img/inner -p /inner/",
1919
"postinstall": "patch-package"
2020
},
2121
"repository": {

tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
// "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
1515
// "sourceMap": true, /* Generates corresponding '.map' file. */
1616
// "outFile": "./", /* Concatenate and emit output to single file. */
17-
"outDir": "./dist/", /* Redirect output structure to the directory. */
17+
"outDir": "dist", /* Redirect output structure to the directory. */
1818
// "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
1919
// "composite": true, /* Enable project compilation */
2020
// "tsBuildInfoFile": "./", /* Specify file to store incremental compilation information */
@@ -69,5 +69,5 @@
6969
"forceConsistentCasingInFileNames": true, /* Disallow inconsistently-cased references to the same file. */
7070
"resolveJsonModule": true, /* include our version.json file */
7171
},
72-
"include": ["src/**/*.ts", "src/**/*.json", "test/**/*.ts"]
72+
"include": ["src/**/*.ts", "src/**/*.json", "test/**/*.ts"],
7373
}

0 commit comments

Comments
 (0)