Skip to content

Commit

Permalink
Fixed dependencies and remove more unused files
Browse files Browse the repository at this point in the history
  • Loading branch information
tsv2013 committed Apr 10, 2019
1 parent 6c0fc97 commit 47a0329
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 162 deletions.
1 change: 0 additions & 1 deletion deploy_npm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@ cd packages
cd survey-pdf
printf "//registry.npmjs.org/:_authToken=${NPM_TOKEN}\n" >> ./.npmrc
npm publish .

12 changes: 7 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,14 @@
"build_dev": "webpack --env.buildType dev --env.platform pdf",
"build_prod": "npm run build_dev && webpack --env.buildType prod --env.platform pdf"
},
"version": "1.0.78",
"version": "1.0.79",
"name": "survey-pdf",
"private": true,
"license": "Commercial",
"dependencies": {
"jspdf": "1.5.3",
"survey-core": "^1.0.78"
},
"devDependencies": {
"@types/jest": "^23.3.3",
"@types/jspdf": "^1.2.2",
Expand All @@ -27,20 +32,17 @@
"html-loader": "0.4.4",
"http-server": "0.9.0",
"jest": "^23.6.0",
"jest-canvas-mock": "^2.0.0-beta.1",
"jspdf": "git+https://github.com/MrRio/jsPDF.git",
"live-server": "1.2.0",
"node-uuid": "1.4.7",
"replace-in-file": "^3.1.1",
"rimraf": "2.5.4",
"standard-version": "4.0.0",
"style-loader": "0.13.1",
"survey-core": "^1.0.78",
"ts-jest": "^23.10.3",
"ts-loader": "2.3.4",
"typescript": "3.4.3",
"url-loader": "^0.6.2",
"val-loader": "0.5.0",
"webpack": "2.2.1"
}
}
}
121 changes: 0 additions & 121 deletions src/entries/chunks/model.ts

This file was deleted.

File renamed without changes.
2 changes: 1 addition & 1 deletion src/entries/pdf.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export * from "./chunks/helpers";
export * from "./helpers";

export { JsPdfSurveyModel as Survey } from "../survey";
export {
Expand Down
9 changes: 0 additions & 9 deletions src/images/ArrowDown_34x34.svg

This file was deleted.

9 changes: 0 additions & 9 deletions src/images/Arrow_downGREY_10x10.svg

This file was deleted.

13 changes: 0 additions & 13 deletions src/images/Down_34x34.svg

This file was deleted.

6 changes: 3 additions & 3 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ var platformOptions = {
}
};

module.exports = function(options) {
module.exports = function (options) {
//TODO
options.platformPrefix = options.platform;
var packagePath = "./packages/survey-" + options.platform + "/";
Expand Down Expand Up @@ -81,7 +81,7 @@ module.exports = function(options) {
platformOptions[options.platform].keywords
),
homepage: "https://surveyjs.io/",
license: "MIT",
license: "Commercial",
files: [
"survey." + options.platformPrefix + ".d.ts",
"survey." + options.platformPrefix + ".js",
Expand Down Expand Up @@ -109,7 +109,7 @@ module.exports = function(options) {
resolve: {
extensions: [".ts", ".js", ".tsx"],
alias: {
tslib: path.join(__dirname, "./src/entries/chunks/helpers.ts")
tslib: path.join(__dirname, "./src/entries/helpers.ts")
}
},
module: {
Expand Down

0 comments on commit 47a0329

Please sign in to comment.