Commit 325b8563 authored by Amir.h Yeganemehr's avatar Amir.h Yeganemehr

use js in npm export instead of ts

parent 489dc27c
node_modules
*.d.ts
!jquery.d.ts
*.js
\ No newline at end of file
*.ts
!*.d.ts
tsconfig.json
tslint.json
\ No newline at end of file
/// <reference types="jquery"/>
interface JQuery {
bootstrapCheckbox();
}
\ No newline at end of file
/// <reference path="jquery.d.ts" />
/// <reference path="./index.d.ts"/>
/// <reference path="./jquery.d.ts"/>
import * as $ from "jquery";
$.fn.bootstrapCheckbox = function(){
......
/// <reference types="jquery"/>
interface JQuery {
bootstrapCheckbox();
}
\ No newline at end of file
......@@ -15,17 +15,19 @@
"bootstrap": "^3.3.7",
"font-awesome": "^4.7.0"
},
"devDependencies": {},
"devDependencies": {
"@types/bootstrap": "^3.3.34",
"@types/jquery": "^3.2.4"
},
"optionalDependencies": {},
"keywords": [
"jquery",
"bootstrap",
"font-awesome",
"less"
],
"main": "index.ts",
"main": "index.js",
"types": "index.d.ts",
"repository": {
"type": "git",
"url": "git+https://git.jeyserver.com/yeganemehr/jquery-bootstrap-checkbox.git"
......
{
"files": [
"index.ts",
"jquery.d.ts"
],
"compilerOptions": {
"module": "commonjs",
"target": "es3",
"sourceMap": false,
"removeComments": true,
"declaration":true
}
}
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment