Skip to content

Commit 67d83f2

Browse files
committed
Prep package.json + add license
1 parent c27966d commit 67d83f2

File tree

3 files changed

+35
-4
lines changed

3 files changed

+35
-4
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[*.{js,jsx,ts,tsx,vue}]
1+
[package.json,*.{js,jsx,ts,tsx,vue}]
22
indent_style = space
33
indent_size = 2
44
end_of_line = lf

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2020 Rudolf Tucek
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

package.json

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,24 @@
11
{
22
"name": "query-builder",
33
"version": "0.1.0",
4-
"main": "./dist/query-builder.common.js",
5-
"private": true,
4+
"license": "MIT",
5+
"repository": "https://github.com/rtucek/vue-query-builder",
6+
"description": "A query-builder library for Vue.js",
7+
"author": {
8+
"name": "Rudolf Tucek",
9+
"url": "https://github.com/rtucek/"
10+
},
11+
"private": false,
612
"scripts": {
713
"serve": "vue-cli-service serve dev/main.ts",
814
"build": "vue-cli-service build --target lib src/QueryBuilder.vue",
915
"test:unit": "vue-cli-service test:unit",
1016
"lint": "vue-cli-service lint src/ tests/ dev/"
1117
},
18+
"main": "dist/query-builder.umd.js",
19+
"browser": "dist/query-builder.common.js",
20+
"jsdelivr": "dist/query-builder.umd.min.js",
21+
"unpkg": "dist/query-builder.umd.min.js",
1222
"dependencies": {
1323
"@types/sortablejs": "^1.10.2",
1424
"core-js": "^3.3.2",
@@ -41,7 +51,7 @@
4151
"pre-commit": "lint-staged"
4252
},
4353
"lint-staged": {
44-
"*.{js,vue}": [
54+
"*.{js,vue,ts}": [
4555
"vue-cli-service lint",
4656
"git add"
4757
]

0 commit comments

Comments
 (0)