@prtcl/plonk 1.0.1-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,5 @@
1
+ # plonk
2
+
3
+ Tiny library that provides timers, envelopes, and random generators.
4
+
5
+ Visit [GitHub](https://github.com/prtcl/plonk) for docs and info.
package/package.json ADDED
@@ -0,0 +1,25 @@
1
+ {
2
+ "name": "@prtcl/plonk",
3
+ "version": "1.0.1-beta.0",
4
+ "description": "Tiny library that provides timers, envelopes, and random generators",
5
+ "author": "Cory O'Brien <cory@prtcl.cc>",
6
+ "license": "MIT",
7
+ "type": "module",
8
+ "main": "./dist/index.js",
9
+ "exports": {
10
+ ".": {
11
+ "import": "./dist/index.js",
12
+ "require": "./dist/index.cjs",
13
+ "types": "./dist/index.d.ts"
14
+ }
15
+ },
16
+ "repository": {
17
+ "type": "git",
18
+ "url": "git+https://github.com/prtcl/plonk.git"
19
+ },
20
+ "scripts": {
21
+ "build": "tsup --dts --format esm,cjs",
22
+ "clean": "rm -rf dist | true",
23
+ "test": "vitest --watch=false && vitest --browser.name=chrome --browser.headless --watch=false"
24
+ }
25
+ }
package/tsup.config.ts ADDED
@@ -0,0 +1,10 @@
1
+ import { defineConfig } from 'tsup';
2
+
3
+ export default defineConfig({
4
+ entry: ['src/index.ts'],
5
+ clean: true,
6
+ dts: true,
7
+ sourcemap: true,
8
+ splitting: false,
9
+ target: 'es2020',
10
+ });