mirror of
https://github.com/optilude/xlsx-template.git
synced 2026-07-02 00:17:39 +08:00
Move source code to src folder (#160)
That's allow compile code using TSC before publish And all future code can use TypeScript
This commit is contained in:
@@ -7,3 +7,6 @@ checkouts
|
||||
.idea/
|
||||
atlassian-ide-plugin.xml
|
||||
.vs/
|
||||
lib/*.js
|
||||
lib/*.d.ts
|
||||
!lib/index.d.ts
|
||||
Generated
+7
-7
@@ -1263,11 +1263,11 @@
|
||||
"dev": true
|
||||
},
|
||||
"elementtree": {
|
||||
"version": "0.1.6",
|
||||
"resolved": "https://registry.npmjs.org/elementtree/-/elementtree-0.1.6.tgz",
|
||||
"integrity": "sha1-KsTEbqMFFsjEy9teOsdBjlkt4gw=",
|
||||
"version": "0.1.7",
|
||||
"resolved": "https://registry.npmjs.org/elementtree/-/elementtree-0.1.7.tgz",
|
||||
"integrity": "sha1-mskb5uUvtuYkTE5UpKw+2K6OKcA=",
|
||||
"requires": {
|
||||
"sax": "0.3.5"
|
||||
"sax": "1.1.4"
|
||||
}
|
||||
},
|
||||
"emittery": {
|
||||
@@ -2693,9 +2693,9 @@
|
||||
"dev": true
|
||||
},
|
||||
"sax": {
|
||||
"version": "0.3.5",
|
||||
"resolved": "https://registry.npmjs.org/sax/-/sax-0.3.5.tgz",
|
||||
"integrity": "sha1-iPz8H3PAyLvVt8d2ttPzUB7tBz0="
|
||||
"version": "1.1.4",
|
||||
"resolved": "https://registry.npmjs.org/sax/-/sax-1.1.4.tgz",
|
||||
"integrity": "sha1-dLbTPJrh4AFRDxeakRaFiPGu2qk="
|
||||
},
|
||||
"saxes": {
|
||||
"version": "5.0.1",
|
||||
|
||||
+4
-2
@@ -56,7 +56,7 @@
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
"elementtree": "0.1.6",
|
||||
"elementtree": "^0.1.7",
|
||||
"image-size": "^0.3.5",
|
||||
"jszip": "^2.6.1"
|
||||
},
|
||||
@@ -69,7 +69,9 @@
|
||||
"typescript": "^3.9.7"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "jest"
|
||||
"compile": "tsc",
|
||||
"test": "npm run compile && jest",
|
||||
"prepublishOnly": "npm run compile"
|
||||
},
|
||||
"readme": "",
|
||||
"readmeFilename": "README.md"
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
/*jshint globalstrict:true, devel:true */
|
||||
/*eslint no-var:0 */
|
||||
/*global require, module, Buffer */
|
||||
"use strict";
|
||||
|
||||
var path = require('path'),
|
||||
sizeOf = require('image-size'),
|
||||
+5
-3
@@ -4,12 +4,14 @@
|
||||
"module": "commonjs",
|
||||
"allowJs": true,
|
||||
"checkJs": true,
|
||||
"noEmit": true,
|
||||
"noEmit": false,
|
||||
"strict": false,
|
||||
"noImplicitAny": false,
|
||||
"esModuleInterop": true
|
||||
"alwaysStrict": true,
|
||||
"esModuleInterop": true,
|
||||
"outDir": "lib"
|
||||
},
|
||||
"files": [
|
||||
"lib/index.js"
|
||||
"src/index.js"
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user