@odoo/o-spreadsheet
Version:
A spreadsheet component
166 lines (165 loc) • 5.31 kB
JSON
{
"name": "@odoo/o-spreadsheet",
"version": "19.0.11",
"description": "A spreadsheet component",
"type": "module",
"main": "dist/o-spreadsheet.cjs.js",
"browser": "dist/o-spreadsheet.iife.js",
"module": "dist/o-spreadsheet.esm.js",
"types": "dist/o-spreadsheet.d.ts",
"files": [
"dist/*.js",
"dist/*.d.ts",
"dist/*.xml"
],
"scripts": {
"serve-static": "live-server --open=demo --watch=build/o_spreadsheet.iife.js,build/o_spreadsheet.xml,build/o_spreadsheet.css,main.css,demo",
"dev": "npm-run-all --print-label bundle:dev --parallel server serve-static watch",
"server": "node tools/server/main.cjs",
"build:js": "tsc --module es6 --incremental",
"bundle:iife": "rollup -c -m -- --format iife",
"bundle:esm": "rollup -c -m -- --format esm",
"bundle:xml": "node tools/bundle_xml/main.cjs",
"bundle:dev": "npm-run-all build:js bundle:iife \"bundle:xml -- --outDir build\" && node tools/bundle_scss/main.cjs --out build",
"dist": "tsc --module es6 --declaration --declarationDir dist/types && rollup -c && npm run bundle:xml -- --outDir dist && node tools/bundle_scss/main.cjs --out dist",
"monkey": "SPREADSHEET_MONKEY_COUNT=$npm_config_monkey_count jest 'tests/collaborative/collaborative_monkey_party.test.ts'",
"test": "tsc --noEmit --project tsconfig.jest.json && jest",
"test:watch": "jest --watch",
"prettier": "prettier . --write",
"check-formatting": "prettier . --check && eslint",
"prepare": "husky install",
"watch": "npm-run-all -p watch:*",
"watch:bundle": "npm run bundle:iife -- --watch",
"watch:ts": "npm run build:js -- --watch",
"watch:xml": "node tools/bundle_xml/watch_xml_templates.cjs",
"watch:scss": "node tools/bundle_scss/watch_scss_files.cjs",
"unzipXlsx": "node tools/bundle_xlsx/unzip_xlsx_demo.cjs",
"zipXlsx": "node tools/bundle_xlsx/zip_xlsx_demo.cjs",
"build": "npm-run-all build:js bundle:esm \"bundle:xml -- --outDir build\" && node tools/bundle_scss/main.cjs --out build",
"lint": "eslint --fix"
},
"browserslist": [
"last 1 Chrome versions"
],
"keywords": [
"owl",
"spreadsheet",
"o-spreadsheet",
"odoo"
],
"author": "Odoo",
"license": "LGPL-3.0-or-later",
"repository": {
"type": "git",
"url": "git+https://github.com/odoo/o-spreadsheet.git"
},
"bugs": {
"url": "https://github.com/odoo/o-spreadsheet/issues"
},
"homepage": "https://github.com/odoo/o-spreadsheet#readme",
"devDependencies": {
"@prettier/plugin-xml": "^2.2.0",
"@rollup/plugin-node-resolve": "^15.2.0",
"@rollup/plugin-terser": "^0.4.3",
"@swc/jest": "0.2.36",
"@swc/core": "1.6.7",
"@types/jest": "^27.0.1",
"@types/node": "^20.17.24",
"@types/rbush": "^3.0.3",
"@typescript-eslint/eslint-plugin": "^8.30.1",
"babel-eslint": "^10.1.0",
"body-parser": "^1.19.0",
"chart.js": "4.4.5",
"chartjs-adapter-luxon": "^1.3.1",
"chartjs-chart-geo": "^4.3.2",
"cors": "^2.8.5",
"express": "^4.17.1",
"express-form-data": "^2.0.19",
"express-ws": "^4.0.0",
"file-saver": "^2.0.5",
"fs": "^0.0.1-security",
"glob": "^11.0.1",
"husky": "^7.0.4",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"jszip": "^3.6.0",
"lint-staged": "^12.1.2",
"live-server": "^1.2.1",
"luxon": "^3.5.0",
"minimist": "^1.2.8",
"mockdate": "^3.0.2",
"node-watch": "^0.7.3",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.0",
"prettier-plugin-organize-imports": "^3.2.2",
"rollup": "^3.28.0",
"rollup-plugin-dts": "^5.3.1",
"rollup-plugin-typescript2": "^0.35.0",
"sass": "^1.62.1",
"seedrandom": "^3.0.5",
"typescript": "^5.8.2",
"typescript-eslint": "^8.30.1",
"xml-formatter": "^2.4.0"
},
"optionalDependencies": {
"@swc/core-darwin-arm64": "1.6.7",
"@swc/core-darwin-x64": "1.6.7",
"@swc/core-linux-arm-gnueabihf": "1.6.7",
"@swc/core-linux-arm64-gnu": "1.6.7",
"@swc/core-linux-arm64-musl": "1.6.7",
"@swc/core-linux-x64-gnu": "1.6.7",
"@swc/core-linux-x64-musl": "1.6.7",
"@swc/core-win32-arm64-msvc": "1.6.7",
"@swc/core-win32-ia32-msvc": "1.6.7",
"@swc/core-win32-x64-msvc": "1.6.7"
},
"prettier": {
"printWidth": 100,
"xmlWhitespaceSensitivity": "ignore",
"bracketSameLine": true,
"xmlSelfClosingSpace": false
},
"dependencies": {
"@odoo/owl": "2.8.1",
"bootstrap": "^5.3.3",
"font-awesome": "^4.7.0",
"rbush": "^3.0.1"
},
"jest": {
"roots": [
"<rootDir>/src",
"<rootDir>/tests"
],
"transform": {
"^.+\\.ts?$": [
"@swc/jest"
]
},
"verbose": false,
"testEnvironment": "jsdom",
"testRegex": "(/tests/.*(test|spec))\\.ts?$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"workerIdleMemoryLimit": "800MB",
"globalSetup": "<rootDir>/tests/setup/jest_global_setup.ts",
"globalTeardown": "<rootDir>/tests/setup/jest_global_teardown.ts",
"setupFilesAfterEnv": [
"<rootDir>/tests/setup/jest.setup.ts"
]
},
"lint-staged": {
"*": [
"prettier --write",
"eslint --fix"
]
},
"publishConfig": {
"tag": "latest"
}
}