This repository was archived by the owner on Oct 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
110 lines (110 loc) · 4.78 KB
/
Copy pathpackage.json
File metadata and controls
110 lines (110 loc) · 4.78 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{
"name": "undernet",
"version": "8.1.0",
"homepage": "https://undernet.io",
"description": "A modular, configuration-first front-end framework. No strings.",
"author": "George Treviranus",
"license": "MIT",
"private": false,
"main": "lib/cjs/index.js",
"module": "lib/esm/index.js",
"sass": "src/scss/undernet.scss",
"style": "dist/undernet.css",
"scripts": {
"setup": "npm i && npm run js:build && bundle install",
"build": "npm run build:scripts && bundle exec jekyll build --config _config.yml,_config-dev.yml",
"build:prod": "npm run build:scripts:prod && JEKYLL_ENV=production bundle exec jekyll build --config _config.yml,_config-prod.yml",
"watch": "npm run build:scripts && bundle exec jekyll serve",
"build:scripts": "npm run clean:scripts && BABEL_ENV=cjs rollup -c rollup.config.site.js",
"build:scripts:prod": "npm run clean:scripts && BABEL_ENV=production rollup -c rollup.config.site.js",
"watch:scripts": "npm run build:scripts -- -w",
"clean:scripts": "rm -rf site/assets/js/",
"test": "jest",
"test:watch": "jest --watch",
"lint": "npm run scss:lint && npm run js:lint",
"scss:lint": "stylelint '**/*.scss'",
"scss:lint:check": "stylelint-config-prettier-check",
"js:lint": "eslint . --ext .js -c .eslintrc.js --ignore-path .eslintignore",
"build:dist": "npm run js:build && npm run js:build:bundle && npm run css:package",
"build:dist:release": "npm run build:dist:clean && npm run scss:prepublish && npm run css:prepublish && npm run js:prepublish && npm run node:create-hashes",
"build:dist:clean": "rm -rf dist/ && mkdir dist/",
"prettify": "npm run js:prettify && npm run scss:prettify",
"js:build:clean": "rm -rf lib/ && mkdir lib/",
"js:build": "npm run js:build:clean && npm run js:build:cjs && npm run js:build:esm",
"js:build:cjs": "BABEL_ENV=cjs babel src/js/ -d lib/cjs/ --no-comments -s",
"js:build:esm": "BABEL_ENV=esm babel src/js/ -d lib/esm/ --no-comments -s",
"js:build:bundle": "BABEL_ENV=cjs rollup -c",
"js:watch": "npm run js:build:clean && BABEL_ENV=esm babel src/js/ -d lib/esm/ --watch --ignore 'src/js/index.bundle.js' --no-comments -s",
"js:prettify": "prettier --write 'src/js/**/*.js'",
"js:modules:zip": "cd src/js/ && zip -x '/*__tests__/*' -r ../../dist/undernet.modules.js.zip .",
"js:zip": "cd dist/ && zip -r undernet.js.zip . -x *.css *.zip *.css.map",
"js:prepublish": "npm run js:build && npm run js:build:bundle && npm run js:modules:zip && npm run js:zip",
"css:build": "sass --source-map-urls=relative src/scss/undernet.scss dist/undernet.css",
"css:build:minify": "sass --source-map-urls=relative --style=compressed src/scss/undernet.scss dist/undernet.min.css",
"css:prefix": "postcss -r dist/*.css --verbose",
"css:package": "npm run css:build && npm run css:build:minify && npm run css:prefix",
"css:prepublish": "npm run css:package && cd dist/ && zip -r undernet.css.zip . -x *.js *.zip *.js.map",
"scss:prettify": "prettier --write 'src/scss/**/*.scss'",
"scss:prepublish": "cd src/scss/ && zip -r ../../dist/undernet.scss.zip . -x __tests__",
"node:update-version": "node .bin/update-version.js",
"node:create-hashes": "node .bin/create-hashes.js",
"preversion": "npm run js:build && npm test",
"postversion": "npm run node:update-version && npm run build:dist:release && git add -A && git commit --amend"
},
"devDependencies": {
"@babel/cli": "^7.10.5",
"@babel/core": "^7.11.0",
"@babel/plugin-external-helpers": "^7.10.4",
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@babel/preset-env": "^7.11.0",
"@rollup/plugin-alias": "^3.1.1",
"@rollup/plugin-commonjs": "^14.0.0",
"@rollup/plugin-node-resolve": "^8.4.0",
"autoprefixer": "^9.8.6",
"babel-eslint": "^10.1.0",
"babel-jest": "^26.2.2",
"core-js": "^3.6.5",
"enzyme": "^3.11.0",
"enzyme-to-json": "^3.5.0",
"eslint": "^7.6.0",
"eslint-config-prettier": "^6.11.0",
"jest": "^26.2.2",
"jshashes": "^1.0.8",
"lodash-es": "^4.17.15",
"postcss-cli": "^7.1.1",
"prettier": "^2.0.5",
"rollup": "^2.23.0",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-terser": "^6.1.0",
"sass": "^1.26.10",
"sass-true": "^6.0.0",
"stylelint": "^13.6.1",
"stylelint-config-prettier": "^8.0.2",
"stylelint-scss": "^3.18.0"
},
"engines": {
"node": ">=12.0.0",
"npm": ">=6.0.0"
},
"keywords": [
"scss",
"javascript",
"js",
"css",
"frontend",
"framework",
"web"
],
"files": [
"dist/*.{css,js,map}",
"lib/{esm,cjs}/**/*.{js,map}",
"src/scss/**/*.scss"
],
"repository": {
"type": "git",
"url": "git+https://github.com/geotrev/undernet.git"
},
"bugs": {
"url": "https://github.com/geotrev/undernet/issues"
}
}