Skip to content

Commit

Permalink
Build: updated build scripts with more modern version
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeh Fernando committed Dec 14, 2018
1 parent 638f8f5 commit 21ce47f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
"module": "./dist/Prando.es.js",
"types": "./dist/Prando.d.ts",
"scripts": {
"build": "rollup -c",
"build": "rimraf dist && rollup -c",
"build:declarations": "tsc -d",
"dev": "rollup -c -w",
"test": "jest --testMatch **/test/**/*-test-*.js",
"test:coverage": "npm run test -- --coverage",
"test:coverage:coveralls": "npm run test -- --coverage --coverageReporters=text-lcov | coveralls",
"test:watch": "npm run test -- --watchAll",
"test:coverage": "yarn test --coverage",
"test:coverage:coveralls": "yarn test --coverage --coverageReporters=text-lcov | coveralls",
"test:watch": "yarn test --watchAll",
"lint": "tslint -c tslint.json src/*.ts",
"prepublish": "npm run build && npm run build:declarations"
"prepublish": "yarn build && yarn build:declarations"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -42,6 +42,7 @@
"babel-jest": "^23.6.0",
"coveralls": "^3.0.2",
"jest": "^23.6.0",
"rimraf": "^2.6.2",
"rollup": "^0.67.4",
"rollup-plugin-typescript": "^1.0.0",
"tslint": "^5.11.0",
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3650,7 +3650,7 @@ ret@~0.1.10:
resolved "https://registry.yarnpkg.com/ret/-/ret-0.1.15.tgz#b8a4825d5bdb1fc3f6f53c2bc33f81388681c7bc"
integrity sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==

rimraf@^2.5.4, rimraf@^2.6.1:
rimraf@^2.5.4, rimraf@^2.6.1, rimraf@^2.6.2:
version "2.6.2"
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.2.tgz#2ed8150d24a16ea8651e6d6ef0f47c4158ce7a36"
integrity sha512-lreewLK/BlghmxtfH36YYVg1i8IAce4TI7oao75I1g245+6BctqTVQiBP3YUJ9C6DQOXJmkYR9X9fCLtCOJc5w==
Expand Down

0 comments on commit 21ce47f

Please sign in to comment.