-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
95 lines (95 loc) · 4.12 KB
/
package.json
File metadata and controls
95 lines (95 loc) · 4.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
{
"name": "simplicite",
"description": "Simplicite(R) platform Javascript API (for node.js and browser)",
"version": "3.1.5-dev",
"author": "Simplicite Software <contact@simplicitesoftware.com> (https://www.simplicitesoftware.com/)",
"license": "Apache-2.0",
"keywords": [
"simplicite",
"simplicitesoftware",
"lowcode"
],
"homepage": "https://github.com/simplicitesoftware/javascript-api",
"bugs": {
"url": "https://github.com/simplicitesoftware/javascript-api/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/simplicitesoftware/javascript-api.git"
},
"dependencies": {
"buffer": "6.0.3"
},
"devDependencies": {
"@babel/runtime": "7.28.6",
"@babel/plugin-transform-runtime": "7.29.0",
"@babel/preset-env": "7.29.0",
"@jest/globals": "30.2.0",
"@typescript-eslint/parser": "8.56.1",
"@typescript-eslint/eslint-plugin": "8.56.1",
"@types/node": "25.3.1",
"docdash": "2.0.2",
"eslint": "9.39.3",
"esbuild": "0.27.3",
"globals": "17.3.0",
"jest": "30.2.0",
"ts-jest": "29.4.6",
"ts-loader": "9.5.4",
"babel-jest": "30.2.0",
"jsdoc": "4.0.5",
"jsdoc-plugin-typescript": "3.2.0",
"file-cli": "1.2.0",
"npm-check-updates": "19.5.0",
"typescript": "5.9.3",
"replace": "1.2.2",
"serve": "14.2.5",
"webpack": "5.105.3",
"webpack-cli": "6.0.1",
"terser-webpack-plugin": "5.3.16"
},
"scripts": {
"lint": "fcli remove test/index.js && eslint --fix \"src/*.ts\" \"src/browser.js\" \"test/*.js\"",
"build:esm": "fcli remove ./dist/esm && tsc --module es6 --target es6 --outDir ./dist/esm",
"build:cjs": "fcli remove ./dist/cjs && fcli copy ./package-cjs.json ./dist/cjs/package.json && tsc --module commonjs --target es5 --esModuleInterop true --outDir ./dist/cjs",
"build:bundle": "fcli remove ./dist/simplicite.min.js && fcli remove ./dist/simplicite.min.js.map && esbuild src/browser.js --bundle --minify --sourcemap --outfile=./dist/simplicite.min.js",
"build:esmbundle": "fcli remove ./dist/simplicite.min.mjs && fcli remove ./dist/simplicite.min.mjs.map && esbuild src/simplicite.ts --platform=neutral --bundle --minify --sourcemap --outfile=./dist/simplicite.min.mjs",
"build": "fcli remove ./dist && npm run lint && npm run build:esm && npm run build:cjs && npm run build:bundle && npm run build:esmbundle",
"build:all": "npm run build && npm run test && npm run doc",
"doc": "fcli remove ./docs && jsdoc -t node_modules/docdash -d docs ./dist/esm/ README.md && replace '#fc83ff' '#98cbff' docs/styles/jsdoc.css && replace '#6d426d' '#2e76bd' docs/styles/jsdoc.css && replace '#CA79CA' '#edb8b8' docs/styles/jsdoc.css && replace '#606' '#094e93' docs/styles/jsdoc.css",
"test": "jest -- ./test/simplicite.test.js",
"test-coverage": "jest --coverage -- ./test/simplicite.test.js",
"test-clearcache": "jest --clear-cache",
"test:public": "node ./test/test-public.js",
"test:logins": "node ./test/test-logins.js",
"test:main": "node ./test/test-main.js",
"test:images": "node ./test/test-images.js",
"test:source": "node ./test/test-source.js",
"test:external": "node ./test/test-external.js",
"test:rununittest": "node ./test/test-rununittest.js",
"test:compress": "node ./test/test-compress.js",
"test:await": "node ./test/test-await.js",
"test:all": "npm run test:public && npm run test:logins && npm run test:main && npm run test:images && npm run test:source && npm run test:external && npm run test:await",
"test:browser": "webpack build --config=./test/webpack.config.cjs ./test/test-browser.js && serve -l 3000 test",
"test:bundle": "fcli copy test/test-bundle.html ./dist/index.html && serve -l 3000 dist",
"test:cdn": "fcli copy test/test-cdn.html ./dist/index.html && serve -l 3000 dist",
"ncu": "ncu"
},
"engines": {
"node": ">=18"
},
"files": [
"src",
"dist",
"test",
"docs"
],
"type": "module",
"main": "./dist/cjs/simplicite.js",
"module": "./dist/esm/simplicite.js",
"exports": {
".": {
"require": "./dist/cjs/simplicite.js",
"import": "./dist/esm/simplicite.js"
}
}
}