charticulator/package.json

161 строка
4.6 KiB
JSON

{
"name": "charticulator",
"version": "2.1.5",
"private": true,
"author": {
"name": "Donghao Ren",
"email": "donghao.ren@gmail.com",
"url": "https://donghaoren.org"
},
"contributors": [
"David Tittsworth <datittsw@microsoft.com>"
],
"scripts": {
"dev": "node build.js",
"build": "node build.js --mode=production",
"server": "node build.js server",
"ssl_server": "node build.js ssl_server",
"public_server": "node build.js public_server",
"watch": "node build.js watch",
"ssl_watch": "node build.js ssl_watch",
"start": "node build.js dev watch",
"ssl_start": "node build.js dev ssl_watch",
"lint": "npx eslint --fix ./src --ext .js,.jsx,.ts,.tsx",
"prettify": "prettier \"./src/**/*.{ts,tsx}\" \"./sass/**/*.{scss,sass}\"",
"unit_test": "karma start",
"test": "yarn run lint && yarn run dev && yarn run unit_test",
"add_licenses": "license-check-and-add",
"create_cert": "openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365 -nodes",
"typedoc": "typedoc --options ./typedoc.json",
"karma": "karma start",
"karma_dev": "karma start --single-run=false",
"docker_build": "docker build -t charticulator/test .",
"docker_remove": "docker container rm charticulator",
"docker_create": "docker create -ti --name charticulator charticulator/test bash",
"docker_copy": "docker cp charticulator:/home/node/charticulator/src/tests/karma/ChromeHeadless ./src/tests/unit/"
},
"lint-staged": {
"*.{ts,tsx}": [
"npx eslint --fix ./src --ext .js,.jsx,.ts,.tsx",
"prettier --write",
"license-check-and-add"
],
"*.{scss,sass}": [
"prettier --write",
"license-check-and-add"
],
"*.{js,jsx}": [
"license-check-and-add"
]
},
"dependencies": {
"@fluentui/react": "^8.8.0",
"@uifabric/icons": "7.5.22",
"@uifabric/styling": "7.18.1",
"d3-color": "^1.4.1",
"d3-dsv": "^1.0.8",
"d3-force": "^1.1.0",
"d3-format": "^1.3.0",
"d3-scale": "^2.1.2",
"d3-time-format": "^2.1.1",
"file-saver": "^1.3.8",
"hammerjs": "^2.0.8",
"lscg-solver": "^1.2.1",
"react": "16.14.0",
"react-dom": "16.14.0",
"styled-components": "5.2.0"
},
"license-check-and-add-config": {
"folder": ".",
"license": "header.txt",
"exact_paths_method": "INCLUDE",
"exact_paths": [
"src",
"sass"
],
"file_type_method": "INCLUDE",
"file_types": [
".js",
".tsx",
".ts",
".scss",
".sass"
],
"license_formats": {
"ts|js|tsx|scss|sass": {
"eachLine": {
"prepend": "// "
}
}
},
"insert_license": true
},
"devDependencies": {
"@types/chai": "^4.0.1",
"@types/d3": "^4.9.0",
"@types/file-saver": "^1.3.0",
"@types/hammerjs": "^2.0.35",
"@types/karma": "^6.3.1",
"@types/mocha": "^5.2.5",
"@types/node": "^13.13.4",
"@types/react": "^16.3.14",
"@types/react-dom": "^16.0.5",
"@types/styled-components": "5.1.7",
"@typescript-eslint/eslint-plugin": "^4.22.0",
"@typescript-eslint/parser": "^4.22.0",
"babel-loader": "^8.2.2",
"chai": "^4.2.0",
"dom-to-json": "^0.0.4",
"dts-bundle": "^0.7.3",
"eslint": "^7.24.0",
"eslint-plugin-powerbi-visuals": "^0.8.1",
"eslint-plugin-react-hooks": "^4.2.0",
"file-loader": "^2.0.0",
"fs-extra": "^7.0.1",
"handlebars": "4.7.7",
"http-server": "^0.12.0",
"husky": "^4.3.0",
"js-yaml": "^3.13.1",
"js-yaml-loader": "^1.2.2",
"json-loader": "0.5.7",
"karma": "^6.3.4",
"karma-chrome-launcher": "^3.1.0",
"karma-coverage": "^2.0.3",
"karma-mocha": "^2.0.1",
"karma-mocha-reporter": "^2.2.5",
"karma-mocha-snapshot": "^0.2.1",
"karma-snapshot": "^0.6.0",
"karma-sourcemap-loader": "^0.3.8",
"karma-typescript": "^5.5.2",
"karma-viewport": "^1.0.8",
"karma-webpack": "^5.0.0",
"license-check-and-add": "^2.3.6",
"lint-staged": "^10.5.2",
"mocha": "^5.2.0",
"multirun": "^3.0.2",
"pegjs": "^0.10.0",
"pegjs-loader": "^0.5.6",
"preact": "^8.3.1",
"preact-compat": "^3.18.3",
"prettier": "2.1.2",
"puppeteer": "^10.2.0",
"raw-loader": "^4.0.2",
"sass": "^1.37.5",
"svgson": "^5.2.1",
"ts-loader": "8.0.18",
"ts-node": "^10.2.1",
"typedoc": "^0.20.29",
"typedoc-plugin-external-module-name": "^4.0.6",
"typescript": "3.9.7",
"uglify-es": "^3.3.9",
"url-loader": "^1.0.1",
"webpack": "^4.25.1",
"webpack-cli": "^3.1.2"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}