2022-12-01 12:03:37 +01:00
|
|
|
{
|
2025-10-14 12:29:46 +02:00
|
|
|
"name": "@gouvfr-lasuite/cunningham-tokens",
|
2022-12-01 12:03:37 +01:00
|
|
|
"private": false,
|
2025-12-08 20:40:08 +01:00
|
|
|
"version": "3.1.0",
|
2022-12-01 12:03:37 +01:00
|
|
|
"license": "MIT",
|
2023-01-26 17:52:34 +01:00
|
|
|
"publishConfig": {
|
|
|
|
|
"access": "public"
|
|
|
|
|
},
|
2022-12-01 12:03:37 +01:00
|
|
|
"bin": {
|
2023-01-04 15:51:06 +01:00
|
|
|
"cunningham": "./dist/bin/Main.js"
|
2022-12-01 12:03:37 +01:00
|
|
|
},
|
2023-01-04 15:51:06 +01:00
|
|
|
"main": "./dist/lib/index.js",
|
|
|
|
|
"types": "./dist/lib/index.d.ts",
|
2022-12-01 12:03:37 +01:00
|
|
|
"exports": {
|
2023-01-04 15:51:06 +01:00
|
|
|
"./default-tokens": "./dist/cunningham-tokens.css",
|
|
|
|
|
".": {
|
|
|
|
|
"require": "./dist/lib/index.js",
|
|
|
|
|
"import": "./dist/lib/index.js",
|
|
|
|
|
"types": "./dist/lib/index.d.ts"
|
|
|
|
|
}
|
2022-12-01 12:03:37 +01:00
|
|
|
},
|
|
|
|
|
"files": [
|
|
|
|
|
"dist/"
|
|
|
|
|
],
|
|
|
|
|
"scripts": {
|
|
|
|
|
"lint": "eslint . 'src/**/*.{ts,tsx}'",
|
|
|
|
|
"dev": "nodemon --watch 'src/bin' --ext '*' --exec 'yarn build'",
|
2023-06-30 10:52:34 +02:00
|
|
|
"build-bin": "cd src/bin && rm -rf ../../dist/bin && tsc -p tsconfig.build.json && tsc-alias && chmod +x ../../dist/bin/Main.js",
|
2025-12-08 20:35:45 +01:00
|
|
|
"build-lib": "cp src/bin/cunningham.ts src/lib && cp dist/cunningham-tokens.ts src/lib && cd src/lib && tsc -p tsconfig.json",
|
2023-01-04 15:51:06 +01:00
|
|
|
"build": "yarn build-bin && yarn build-default-theme && yarn build-lib && cd ../.. && ln -sf ../../packages/tokens/dist/bin/Main.js node_modules/.bin/cunningham",
|
2023-08-03 10:42:31 +02:00
|
|
|
"build-default-theme": "node ./dist/bin/Main.js -o dist -s html -g scss,css,js,ts --utility-classes",
|
|
|
|
|
"test": "cross-env FORCE_COLOR=1 jest --runInBand --verbose src",
|
2025-12-08 20:35:45 +01:00
|
|
|
"test-ci": "cross-env FORCE_COLOR=1 jest --runInBand src"
|
2022-12-01 12:03:37 +01:00
|
|
|
},
|
|
|
|
|
"dependencies": {
|
2022-12-12 17:52:00 +01:00
|
|
|
"chalk": "4.1.2",
|
2025-03-17 11:42:15 +00:00
|
|
|
"commander": "13.1.0",
|
2023-03-28 23:37:39 +00:00
|
|
|
"deepmerge": "4.3.1",
|
2025-05-03 23:07:19 +00:00
|
|
|
"figlet": "1.8.1",
|
2023-12-10 09:17:13 +00:00
|
|
|
"ts-node": "10.9.2"
|
2022-12-01 12:03:37 +01:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
2025-01-07 00:59:10 +00:00
|
|
|
"@types/figlet": "1.7.0",
|
|
|
|
|
"@types/jest": "29.5.14",
|
2025-05-03 23:07:19 +00:00
|
|
|
"@types/node": "22.15.3",
|
2022-12-01 12:03:37 +01:00
|
|
|
"eslint-config-custom": "*",
|
2023-09-12 08:12:16 +00:00
|
|
|
"jest": "29.7.0",
|
2025-05-03 23:07:19 +00:00
|
|
|
"nodemon": "3.1.10",
|
2025-03-17 11:42:15 +00:00
|
|
|
"prettier": "3.5.3",
|
2025-05-03 23:07:19 +00:00
|
|
|
"ts-jest": "29.3.2",
|
|
|
|
|
"tsc-alias": "1.8.15",
|
|
|
|
|
"typescript": "5.8.3"
|
2022-12-01 12:03:37 +01:00
|
|
|
},
|
|
|
|
|
"engines": {
|
2023-11-20 17:15:42 +01:00
|
|
|
"node": ">=18.0.0"
|
2023-03-31 16:19:31 +02:00
|
|
|
},
|
|
|
|
|
"volta": {
|
2024-07-29 08:58:24 +02:00
|
|
|
"node": "20.16.0",
|
2024-03-10 01:06:05 +00:00
|
|
|
"yarn": "1.22.22"
|
2022-12-01 12:03:37 +01:00
|
|
|
}
|
|
|
|
|
}
|