Skip to content
This repository was archived by the owner on Nov 25, 2021. It is now read-only.

Commit ce4db9f

Browse files
committed
fix: include scss in the npm package
1 parent 04df2b8 commit ce4db9f

File tree

2 files changed

+144
-2
lines changed

2 files changed

+144
-2
lines changed

package-lock.json

Lines changed: 141 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
"commitmsg": "commitlint -e $GIT_PARAMS",
1111
"prettier": "prettier '**/{*.{js?(on),ts?(x),scss},.*.js?(on)}' --write --list-different",
1212
"tslint": "tslint -c tslint.json -p tsconfig.json './src/*.ts?(x)' './testdata/*.ts?(x)' './*.ts?(x)'",
13-
"build": "tsc -p tsconfig.dist.json",
14-
"watch": "npm run build -- --watch",
13+
"build": "npm run tsc && cpy 'src/**/*.scss' lib/",
14+
"tsc": "tsc -p tsconfig.dist.json",
1515
"test": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' karma start",
1616
"pretest": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' ts-node ./testdata/generate.ts"
1717
},
@@ -55,6 +55,7 @@
5555
"@types/webpack-env": "^1.13.6",
5656
"awesome-typescript-loader": "^5.2.0",
5757
"chai": "^4.1.2",
58+
"cpy-cli": "^2.0.0",
5859
"esm": "^3.0.55",
5960
"fs-extra": "^6.0.1",
6061
"husky": "^0.14.3",

0 commit comments

Comments
 (0)