-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
91 lines (91 loc) · 3.36 KB
/
Copy pathpackage.json
File metadata and controls
91 lines (91 loc) · 3.36 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"name": "tweakpane-plugin-wide-gamut",
"version": "0.2.3",
"description": "Wide-gamut colour picker for Tweakpane v4 — the native picker UI with an sRGB/P3 gamut boundary, across 11 colour spaces (HEX, RGB, CSS, HSL, HWB, OKLCH, OKLab, LCH, Lab, P3, Rec2020). No runtime dependencies — the colour maths is built in.",
"keywords": [
"tweakpane",
"tweakpane-plugin",
"color",
"colour",
"color-picker",
"colour-picker",
"oklch",
"wide-gamut",
"p3",
"display-p3",
"rec2020",
"css-color"
],
"main": "dist/tweakpane-plugin-wide-gamut.js",
"type": "module",
"types": "dist/types/index.d.ts",
"author": "Ryan Kiley",
"license": "MIT",
"homepage": "https://ryankiley.github.io/tweakpane-plugin-wide-gamut/",
"repository": {
"type": "git",
"url": "git+https://github.com/ryankiley/tweakpane-plugin-wide-gamut.git"
},
"bugs": {
"url": "https://github.com/ryankiley/tweakpane-plugin-wide-gamut/issues"
},
"files": [
"dist"
],
"scripts": {
"prepare": "run-s clean build",
"prepublishOnly": "npm test",
"start": "run-p watch server",
"test": "run-s test:lint test:unit",
"test:lint": "eslint --ext .ts \"src/**/*.ts\"",
"test:unit": "node --import tsx --test \"test/**/*.test.ts\"",
"assets": "run-s clean build assets:version assets:zip",
"assets:version": "node scripts/assets-append-version.js",
"assets:zip": "zip -x '*types*' -j -r $(node scripts/dist-name.js)-$(cat package.json | npx json version).zip dist",
"clean": "rimraf dist *.tgz *.zip",
"build": "run-p build:*",
"build:dev": "rollup --config rollup.config.js",
"build:dts": "tsc --project src/tsconfig-dts.json",
"build:prod": "rollup --config rollup.config.js --environment BUILD:production",
"build:demo": "rollup --config rollup.config.js && cp dist/tweakpane-plugin-wide-gamut.js docs/tweakpane-plugin-wide-gamut.js && cp node_modules/tweakpane/dist/tweakpane.min.js docs/tweakpane.min.js",
"format": "run-p format:*",
"format:scss": "prettier --parser scss --write \"src/sass/**/*.scss\"",
"format:ts": "eslint --ext .ts --fix \"src/**/*.ts\"",
"server": "http-server -c-1 -o /test/browser.html",
"watch": "run-p watch:*",
"watch:sass": "onchange --initial --kill \"src/sass/**/*.scss\" -- npm run build:dev",
"watch:ts": "onchange --initial --kill \"src/**/*.ts\" -- rollup --config rollup.config.js"
},
"devDependencies": {
"@rollup/plugin-alias": "^3.1.2",
"@rollup/plugin-node-resolve": "^13.0.0",
"@rollup/plugin-replace": "^2.4.1",
"@rollup/plugin-terser": "^1.0.0",
"@rollup/plugin-typescript": "^8.2.0",
"@tweakpane/core": "^2.0.0",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"autoprefixer": "^10.2.4",
"colorjs.io": "^0.6.0",
"eslint": "^8.46.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-simple-import-sort": "^7.0.0",
"http-server": "^14.1.1",
"npm-run-all": "^4.1.5",
"onchange": "^7.1.0",
"postcss": "^8.2.6",
"prettier": "^2.2.1",
"rimraf": "^3.0.2",
"rollup": "^2.39.1",
"rollup-plugin-cleanup": "^3.2.1",
"sass": "^1.49.9",
"tslib": "^2.8.1",
"tsx": "^4.22.3",
"typescript": "^4.9.5"
},
"peerDependencies": {
"@tweakpane/core": "^2.0.0",
"tweakpane": "^4.0.0"
}
}