Skip to content

Commit e9a1e5d

Browse files
Setup package
1 parent 82151c0 commit e9a1e5d

File tree

3 files changed

+79
-0
lines changed

3 files changed

+79
-0
lines changed

package-lock.json

+29
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"name": "office-scripts-typings",
3+
"version": "0.1.0",
4+
"description": "TypeScript type definitions for Office Scripts.",
5+
"type": "module",
6+
"scripts": {
7+
"build": "tsc",
8+
"build:watch": "tsc --watch",
9+
"test": "echo \"Error: no test specified\" && exit 1"
10+
},
11+
"keywords": [
12+
"office-scripts"
13+
],
14+
"homepage": "https://github.com/HoldYourWaffle/office-scripts-typings/",
15+
"bugs": {
16+
"url": "https://github.com/HoldYourWaffle/office-scripts-typings/issues"
17+
},
18+
"repository": {
19+
"url": "git+https://github.com/HoldYourWaffle/office-scripts-typings.git"
20+
},
21+
"author": "HoldYourWaffle",
22+
"license": "MIT",
23+
"devDependencies": {
24+
"typescript": "^5.3.2"
25+
}
26+
}

tsconfig.json

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"compilerOptions": {
3+
"target": "esnext",
4+
"module": "nodenext",
5+
"moduleResolution": "nodenext",
6+
"declaration": true,
7+
"declarationMap": true,
8+
"sourceMap": true,
9+
"outDir": "./dist",
10+
"importsNotUsedAsValues": "remove",
11+
"forceConsistentCasingInFileNames": true,
12+
"strict": true,
13+
"exactOptionalPropertyTypes": true,
14+
"noImplicitReturns": true,
15+
"noUncheckedIndexedAccess": true,
16+
"noImplicitOverride": true,
17+
"noPropertyAccessFromIndexSignature": true,
18+
"allowUnreachableCode": true,
19+
"skipLibCheck": true
20+
},
21+
"include": [
22+
"./src/**/*.ts"
23+
],
24+
}

0 commit comments

Comments
 (0)