Skip to content

Commit

Permalink
Update package files
Browse files Browse the repository at this point in the history
  • Loading branch information
cdauth committed Apr 10, 2021
1 parent 0463851 commit 872eeee
Show file tree
Hide file tree
Showing 11 changed files with 44 additions and 13 deletions.
2 changes: 0 additions & 2 deletions client/.npmignore

This file was deleted.

6 changes: 6 additions & 0 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@
"type": "git",
"url": "https://github.com/FacilMap/facilmap.git"
},
"files": [
"dist",
"src",
"README.md",
"tsconfig.json"
],
"scripts": {
"build": "webpack",
"watch": "webpack --watch",
Expand Down
5 changes: 0 additions & 5 deletions frontend/.npmignore

This file was deleted.

8 changes: 8 additions & 0 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@
"url": "https://github.com/FacilMap/facilmap.git"
},
"main": "./entry.js",
"files": [
"dist",
"src",
"static",
"iframe-test.html",
"README.md",
"tsconfig.json"
],
"scripts": {
"build": "webpack",
"clean": "rimraf dist",
Expand Down
10 changes: 10 additions & 0 deletions leaflet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,16 @@
"type": "git",
"url": "https://github.com/FacilMap/facilmap.git"
},
"files": [
"assets",
"dist",
"src",
"./download-icons.ts",
"./example.html",
"./icontest.html",
"README.md",
"tsconfig.json"
],
"scripts": {
"build": "webpack",
"build-module": "webpack --config-name module",
Expand Down
2 changes: 0 additions & 2 deletions server/.npmignore

This file was deleted.

7 changes: 6 additions & 1 deletion server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
"type": "git",
"url": "https://github.com/FacilMap/facilmap.git"
},
"files": [
"src",
"README.md",
"tsconfig.json"
],
"scripts": {
"start": "npm run deps && npm run server",
"deps": "npm install",
Expand All @@ -27,7 +32,7 @@
"lint": "eslint src/**/*.ts"
},
"bin": {
"facilmap-server": "src/server.ts"
"facilmap-server": "ts-node --transpile-only src/server.ts"
},
"dependencies": {
"@mapbox/polyline": "^1.1.1",
Expand Down
6 changes: 5 additions & 1 deletion types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,13 @@
"type": "git",
"url": "https://github.com/FacilMap/facilmap.git"
},
"files": [
"src",
"README.md",
"tsconfig.json"
],
"dependencies": {
"@types/geojson": "^7946.0.7"
},
"private": true,
"devDependencies": {}
}
3 changes: 2 additions & 1 deletion types/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"outDir": "dist",
"moduleResolution": "node",
"noErrorTruncation": true,
"skipLibCheck": true
"skipLibCheck": true,
"noEmit": true
}
}
5 changes: 5 additions & 0 deletions utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@
"types": "tsc --noEmit src/*",
"lint": "eslint src/*"
},
"files": [
"src",
"README.md",
"tsconfig.json"
],
"dependencies": {
"cheerio": "^1.0.0-rc.5",
"dompurify": "^2.2.7",
Expand Down
3 changes: 2 additions & 1 deletion utils/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"moduleResolution": "node",
"noErrorTruncation": true,
"skipLibCheck": true,
"experimentalDecorators": true
"experimentalDecorators": true,
"noEmit": true
},
"include": ["src/**/*"]
}

0 comments on commit 872eeee

Please sign in to comment.