{
"name": "rust-ticker",
"version": "0.2.7",
"description": "High-performance timer and stopwatch library built with Rust and WebAssembly",
"main": "dist/node/clockjs.js",
"module": "dist/bundler/clockjs.js",
"types": "dist/bundler/clock_timer.d.ts",
"files": [
"dist/bundler/clockjs.js",
"dist/bundler/clock_timer.js",
"dist/bundler/clock_timer_bg.js",
"dist/bundler/clock_timer_bg.wasm",
"dist/bundler/clock_timer.d.ts",
"dist/web/clockjs.js",
"dist/web/clock_timer.js",
"dist/web/clock_timer_bg.js",
"dist/web/clock_timer_bg.wasm",
"dist/node/clockjs.js",
"dist/node/clock_timer.js",
"dist/node/clock_timer_bg.js",
"dist/node/clock_timer_bg.wasm",
"README.md",
"NPM.md",
"LICENSE",
"js-demo.html"
],
"scripts": {
"build": "wasm-pack build --target bundler --out-dir dist/bundler && wasm-pack build --target web --out-dir dist/web && wasm-pack build --target nodejs --out-dir dist/node",
"test": "wasm-pack test --node",
"prepublishOnly": "npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/bilal-algorithms/rust-ticker.git"
},
"keywords": [
"timer",
"stopwatch",
"clock",
"wasm",
"rust",
"webassembly",
"time",
"countdown"
],
"author": "Bilal Kanjelkheir",
"license": "MIT",
"bugs": {
"url": "https://github.com/bilal-algorithms/rust-ticker/issues"
},
"homepage": "https://github.com/bilal-algorithms/rust-ticker#readme",
"devDependencies": {
"wasm-pack": "^0.12.1"
},
"browser": "dist/web/clockjs.js",
"exports": {
"node": {
"import": "./dist/node/clockjs.js",
"require": "./dist/node/clockjs.js"
},
"browser": "./dist/web/clockjs.js",
"default": "./dist/bundler/clockjs.js"
}
}