63 lines
2.0 KiB
JSON
63 lines
2.0 KiB
JSON
{
|
|
"name": "asciinema-player",
|
|
"description": "Web player for terminal session recordings.",
|
|
"version": "3.15.1",
|
|
"author": "Marcin Kulik",
|
|
"homepage": "https://github.com/asciinema/asciinema-player",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/asciinema/asciinema-player.git"
|
|
},
|
|
"license": "Apache-2.0",
|
|
"main": "dist/index.js",
|
|
"exports": {
|
|
".": "./dist/index.js",
|
|
"./ui.js": "./dist/ui.js",
|
|
"./dist/bundle/asciinema-player.css": "./dist/bundle/asciinema-player.css",
|
|
"./dist/bundle/asciinema-player.min.js": "./dist/bundle/asciinema-player.min.js",
|
|
"./dist/bundle/asciinema-player-ui.min.js": "./dist/bundle/asciinema-player-ui.min.js",
|
|
"./dist/bundle/asciinema-player-worker.min.js": "./dist/bundle/asciinema-player-worker.min.js"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "rollup -c --environment production && lessc src/less/asciinema-player.less >dist/bundle/asciinema-player.css",
|
|
"test": "playwright test",
|
|
"format": "prettier src/**/*.js tests/**/*.spec.js --write"
|
|
},
|
|
"browserslist": [
|
|
"defaults and supports wasm"
|
|
],
|
|
"prettier": {
|
|
"printWidth": 100
|
|
},
|
|
"dependencies": {
|
|
"@babel/runtime": "^7.21.0",
|
|
"solid-js": "^1.3.0",
|
|
"solid-transition-group": "^0.2.3"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.21.3",
|
|
"@babel/plugin-transform-runtime": "^7.21.0",
|
|
"@babel/preset-env": "^7.20.2",
|
|
"@playwright/test": "^1.56.0",
|
|
"@rollup/plugin-babel": "^6.0.4",
|
|
"@rollup/plugin-commonjs": "^28.0.5",
|
|
"@rollup/plugin-node-resolve": "^16.0.1",
|
|
"@rollup/plugin-terser": "^0.4.4",
|
|
"@wasm-tool/rollup-plugin-rust": "^3.1.4",
|
|
"babel-preset-solid": "^1.6.13",
|
|
"eslint": "^7.27.0",
|
|
"eslint-config-airbnb-base": "^14.2.1",
|
|
"eslint-config-prettier": "^8.3.0",
|
|
"eslint-plugin-import": "^2.23.3",
|
|
"eslint-plugin-jest": "^24.3.6",
|
|
"eslint-plugin-prettier": "^3.4.0",
|
|
"less": "^4.1.1",
|
|
"prettier": "3.2.5",
|
|
"rollup": "^4.43.0"
|
|
}
|
|
}
|