Skip to content

Commit

Permalink
fix: update build dependencies, change typings location
Browse files Browse the repository at this point in the history
  • Loading branch information
teclone committed May 7, 2019
1 parent 70bfdfe commit 0830379
Show file tree
Hide file tree
Showing 8 changed files with 78 additions and 29 deletions.
12 changes: 12 additions & 0 deletions .buildrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
module.exports = {
srcDir: 'src',
mainModuleFileName: 'index.ts',
mainModuleName: 'Utils',
libConfig: {
enabled: true
},
distConfig: {
enabled: true,
uglify: true
}
}
15 changes: 0 additions & 15 deletions .buildrc.json

This file was deleted.

1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/node_modules
/lib
/dist
/typings
/coverage
2 changes: 0 additions & 2 deletions .npmignore

This file was deleted.

4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ jobs:
- npm run test
- npm run build
after_success:
- npm run report-coverage
- npm run semantic-release
- npm run semantic-release
- npm run report-coverage
57 changes: 53 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 10 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,26 @@
{
"name": "@forensic-js/utils",
"version": "0.0.0",
"description": "A collection of utility methods useful for day to day project and library development",
"description": "A collection of day-to-day utility methods usable in both node and browser environments",
"main": "lib/index",
"typings": "typings/index",
"typings": "lib/typings/index",
"publishConfig": {
"access": "public"
},
"scripts": {
"commit": "git-cz",
"test": "BABEL_ENV=test jest",
"watch-test": "BABEL_ENV=test jest --watch",
"build": "rimraf dist lib typings && ./node_modules/typescript/bin/tsc && BABEL_ENV=build rollup --config",
"build": "rimraf dist lib && tsc && BABEL_ENV=build rollup --config",
"report-coverage": "jest --coverage --coverageReporters=text-lcov | coveralls",
"semantic-release": "semantic-release"
},
"keywords": [
"utility-methods",
"node-utils",
"browser-utils",
"common-functions"
],
"author": "Harrison Ifeanyichukwu <Harrisonifeanyichukwu@gmail.com> (https://github.com/harrison-ifeanyichukwu)",
"license": "MIT",
"devDependencies": {
Expand All @@ -31,7 +37,7 @@
"jest": "24.3.1",
"rimraf": "2.6.3",
"rollup": "0.66.6",
"rollup-all": "1.5.2",
"rollup-all": "1.6.8",
"rollup-plugin-babel": "4.3.2",
"rollup-plugin-node-resolve": "3.4.0",
"rollup-plugin-uglify": "6.0.2",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"target": "esnext",
"declaration": true,
"emitDeclarationOnly": true,
"declarationDir": "./typings",
"declarationDir": "./lib/typings",
"noImplicitAny": false,
"downlevelIteration": true,
"lib": [
Expand Down

0 comments on commit 0830379

Please sign in to comment.