Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Reduce number of build configs
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffreyssmith2nd committed Sep 10, 2018
1 parent 6928eed commit 7b224cf
Show file tree
Hide file tree
Showing 6 changed files with 427 additions and 610 deletions.
12 changes: 4 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@
"test": "jest",
"lint": "tslint -c tslint.json src/**/*.ts",
"lint-fix": "tslint -c tslint.json src/**/*.ts --fix",
"build": "tsc -p ./tsconfig.node.json && cp src/ripemd.js dist && babel dist --out-dir dist",
"build-web": "webpack"
"build": "tsc -p ./tsconfig.json && cp src/ripemd.es5.js dist/ripemd.js",
"build-web": "webpack",
"clean": "rm -rf dist"
},
"author": "block.one",
"license": "MIT",
Expand All @@ -25,9 +26,6 @@
},
"devDependencies": {
"@types/node": "^10.3.1",
"babel-cli": "^6.26.0",
"babel-preset-env": "^1.7.0",
"babel-preset-stage-1": "^6.24.1",
"jest": "^23.5.0",
"jest-fetch-mock": "^1.6.5",
"json-loader": "^0.5.7",
Expand All @@ -50,16 +48,14 @@
"js"
],
"transform": {
"^.+\\.jsx?$": "<rootDir>/node_modules/babel-jest",
"^.+\\.(tsx?)$": "ts-jest"
},
"globals": {
"ts-jest": {
"tsConfigFile": "tsconfig.test.json"
"tsConfigFile": "tsconfig.json"
}
},
"testRegex": "(/src/.*(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"testEnvironment": "node"
}
}

Loading

0 comments on commit 7b224cf

Please sign in to comment.