Last change
on this file since 6a80231 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
1.1 KB
|
Line | |
---|
1 | {
|
---|
2 | "name": "colorette",
|
---|
3 | "version": "1.4.0",
|
---|
4 | "type": "module",
|
---|
5 | "main": "index.cjs",
|
---|
6 | "module": "index.js",
|
---|
7 | "types": "index.d.ts",
|
---|
8 | "description": "Easily set the text color and style in the terminal.",
|
---|
9 | "repository": "jorgebucaran/colorette",
|
---|
10 | "license": "MIT",
|
---|
11 | "exports": {
|
---|
12 | "./package.json": "./package.json",
|
---|
13 | ".": {
|
---|
14 | "require": "./index.cjs",
|
---|
15 | "import": "./index.js"
|
---|
16 | }
|
---|
17 | },
|
---|
18 | "files": [
|
---|
19 | "*.*(c)[tj]s*"
|
---|
20 | ],
|
---|
21 | "author": "Jorge Bucaran",
|
---|
22 | "keywords": [
|
---|
23 | "terminal",
|
---|
24 | "styles",
|
---|
25 | "color",
|
---|
26 | "ansi"
|
---|
27 | ],
|
---|
28 | "scripts": {
|
---|
29 | "test": "c8 twist tests/*.js",
|
---|
30 | "build": "node -e \"fs.writeFileSync('index.cjs', fs.readFileSync('index.js', 'utf8').replace(/export const /g, 'exports.').replace(/import \\* as ([^ ]+) from \\\"(.+)\\\"/, 'const \\$1 = require(\\\"\\$2\\\")'), 'utf8')\"",
|
---|
31 | "deploy": "npm test && git commit --all --message $tag && git tag --sign $tag --message $tag && git push && git push --tags",
|
---|
32 | "release": "tag=$npm_package_version npm run deploy && npm publish --access public",
|
---|
33 | "prepare": "npm run build"
|
---|
34 | },
|
---|
35 | "devDependencies": {
|
---|
36 | "c8": "*",
|
---|
37 | "twist": "*"
|
---|
38 | }
|
---|
39 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.