@lark-project/js-sdk 0.0.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,72 @@
1
+ {
2
+ "name": "@lark-project/js-sdk",
3
+ "version": "0.0.23",
4
+ "runtimeMinVersions": {
5
+ "web": "2.1.0",
6
+ "mobile": "1.1.0"
7
+ },
8
+ "jsnext:source": "./src/index.ts",
9
+ "types": "./dist/types/index.d.ts",
10
+ "main": "./dist/lib/index.js",
11
+ "module": "./dist/es/index.js",
12
+ "scripts": {
13
+ "prepare": "modern build && husky install",
14
+ "prepublishOnly": "modern build --platform",
15
+ "dev": "modern dev",
16
+ "build": "modern build",
17
+ "reset": "rimraf ./**/node_modules",
18
+ "lint": "modern lint",
19
+ "change": "modern change",
20
+ "bump": "modern bump",
21
+ "pre": "modern pre",
22
+ "change-status": "modern change-status",
23
+ "gen-release-note": "modern gen-release-note",
24
+ "release": "modern release",
25
+ "new": "modern new",
26
+ "test": "modern test --passWithNoTests",
27
+ "upgrade": "modern upgrade",
28
+ "docs": "npx @microsoft/api-extractor run --local --verbose --diagnostics && api-documenter markdown --input-folder ./temp/model --output-folder ./docs"
29
+ },
30
+ "engines": {
31
+ "node": ">=14.17.6"
32
+ },
33
+ "lint-staged": {
34
+ "*.{ts,tsx}": [
35
+ "node --max_old_space_size=8192 ./node_modules/eslint/bin/eslint.js --fix --color --cache --quiet"
36
+ ],
37
+ "*.{js,jsx,mjs,mjsx,cjs,cjsx}": [
38
+ "node --max_old_space_size=8192 ./node_modules/eslint/bin/eslint.js --fix --color --cache --quiet"
39
+ ]
40
+ },
41
+ "eslintIgnore": [
42
+ "node_modules/",
43
+ "dist/"
44
+ ],
45
+ "dependencies": {},
46
+ "devDependencies": {
47
+ "@babel/runtime": "^7.18.0",
48
+ "@modern-js-app/eslint-config": "2.12.0",
49
+ "@modern-js/module-tools": "2.8.0",
50
+ "@modern-js/plugin-module-banner": "2.8.0",
51
+ "@modern-js/plugin-testing": "2.8.0",
52
+ "@modern-js/tsconfig": "2.8.0",
53
+ "@types/jest": "^26.0.9",
54
+ "@types/node": "^14",
55
+ "eslint-plugin-prettier": "^4.2.1",
56
+ "husky": "^8",
57
+ "lint-staged": "^11.2.6",
58
+ "prettier": "^2.6.2",
59
+ "rimraf": "^3.0.2",
60
+ "typescript": "^4"
61
+ },
62
+ "sideEffects": [
63
+ "*.css",
64
+ "*.less",
65
+ "*.sass",
66
+ "*.scss"
67
+ ],
68
+ "publishConfig": {
69
+ "access": "public",
70
+ "registry": "https://registry.npmjs.org"
71
+ }
72
+ }
package/tsconfig.json ADDED
@@ -0,0 +1,13 @@
1
+ {
2
+ "extends": "@modern-js/tsconfig/base",
3
+ "compilerOptions": {
4
+ "declaration": false,
5
+ "jsx": "preserve",
6
+ "baseUrl": "./",
7
+ "paths": {
8
+ "@/*": ["./src/*"],
9
+ "@style/*": ["./styles/*"]
10
+ }
11
+ },
12
+ "include": ["src"]
13
+ }