-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
66 lines (66 loc) · 2.48 KB
/
package.json
File metadata and controls
66 lines (66 loc) · 2.48 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
{
"name": "python-template-rust",
"version": "0.1.0",
"description": "A Rust-Python project template",
"repository": "[email protected]:python-project-templates/python-template-rust.git",
"author": "Python Project Template Authors <[email protected]>",
"license": "Apache-2.0",
"private": true,
"type": "module",
"unpkg": "dist/cdn/index.js",
"jsdelivr": "dist/cdn/index.js",
"exports": {
".": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"./dist/*": "./dist/*",
"./package.json": "./package.json"
},
"files": [
"dist/**/*",
"index.d.ts"
],
"types": "./dist/esm/index.d.ts",
"publishConfig": {
"access": "public"
},
"scripts": {
"setup": "cargo install -f wasm-bindgen-cli --version 0.2.106",
"build:debug": "node build.mjs --debug",
"build:rust": "cargo build --release --all-features --target wasm32-unknown-unknown",
"build:wasm-bindgen": "wasm-bindgen ../target/wasm32-unknown-unknown/release/python_template_rust.wasm --out-dir ./dist/pkg --target web",
"build:prod": "node build.mjs",
"build": "npm-run-all build:rust build:wasm-bindgen build:prod",
"clean": "rm -rf dist lib playwright-report ../python_template_rust/extension",
"dev": "npm-run-all -p start watch",
"lint:js": "prettier --check \"src/**/*.{js,ts,jsx,tsx,less,css}\" \"tests/**/*.{js,ts,jsx,tsx}\" \"*.mjs\" \"*.json\"",
"lint:rust": "cargo clippy --all-features && cargo fmt --all -- --check",
"lint": "npm-run-all lint:*",
"fix:js": "prettier --write \"src/**/*.{js,ts,jsx,tsx,less,css}\" \"tests/**/*.{js,ts,jsx,tsx}\" \"*.mjs\" \"*.json\"",
"fix:rust": "cargo fmt --all",
"fix": "npm-run-all fix:*",
"preinstall": "npx only-allow pnpm",
"prepack": "pnpm run build",
"start": "http-server -p 3000 -o examples/",
"start:tests": "http-server -p 3000 ",
"test:js": "playwright test",
"test:rust": "cargo test -- --show-output",
"test": "npm-run-all test:rust test:js",
"watch": "nodemon --watch src -e ts,less,html --exec \"pnpm build:debug\""
},
"dependencies": {},
"devDependencies": {
"@finos/perspective-esbuild-plugin": "^3.2.1",
"@playwright/test": "^1.56.1",
"@prospective.co/procss": "^0.1.17",
"cpy": "^12.1.0",
"esbuild": "^0.25.11",
"esbuild-plugin-less": "^1.3.28",
"http-server": "^14.1.1",
"nodemon": "^3.1.10",
"npm-run-all": "^4.1.5",
"prettier": "^3.6.2",
"typescript": "^5.9.3"
}
}