Skip to content

Commit

Permalink
Merge pull request #1 from BRIXTOL/next
Browse files Browse the repository at this point in the history
v0.1.0-beta.1
  • Loading branch information
panoply authored Mar 28, 2021
2 parents db178a4 + 59dfe60 commit 1056f4f
Show file tree
Hide file tree
Showing 31 changed files with 2,959 additions and 1,843 deletions.
15 changes: 13 additions & 2 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
{
"presets": [["@babel/preset-env"]],
"presets": [
[
"@babel/preset-env",
{
"debug": true
}
]
],
"sourceMaps": true,
"retainLines": true,
"plugins": ["@babel/plugin-syntax-dynamic-import"]
"plugins": [
"@babel/plugin-transform-runtime",
"@babel/plugin-syntax-dynamic-import",
"@babel/plugin-proposal-class-properties"
]
}
13 changes: 0 additions & 13 deletions .browserslistrc

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ public
package
!src/public
node_modules
versions

# FILES -----------------------------
.env
Expand Down
20 changes: 20 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# DIRECTORIES
# --------------------
.vscode/
node_modules/
src/
demo/
tests/
versions/

# FILES
# -------------------
.babelrc
.browserslistrc
.eslintignore
.gitignore
.prettierignore
rollup.config.js
tsconfig.json
changelog.md
readme.md
25 changes: 25 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
module.exports = {
overrides: [
{
files: ['*.json', '.liquidrc', '.scss.liquid', '*.md'],
options: {
parser: 'json',
arrowParens: 'avoid',
bracketSpacing: true,
htmlWhitespaceSensitivity: 'css',
insertPragma: false,
jsxBracketSameLine: false,
jsxSingleQuote: false,
printWidth: 80,
proseWrap: 'preserve',
quoteProps: 'as-needed',
requirePragma: false,
semi: true,
singleQuote: false,
tabWidth: 2,
trailingComma: 'none',
useTabs: false
}
}
]
}
74 changes: 51 additions & 23 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,33 @@
{
"name": "@brixtol/pjax",
"version": "0.1.0",
"version": "0.1.0-beta.1",
"private": false,
"description": "A modern next generation pjax solution for SSR web applications",
"author": "ΝΙΚΟΛΑΣ ΣΑΒΒΙΔΗΣ",
"owner": "BRIXTOL TEXTILES",
"license": "MIT",
"types": "types/pjax.d.ts",
"main": "package/pjax.min.js",
"module": "package/pjax.esm.js",
"browser": "package/pjax.esm.min.js",
"type": "module",
"types": "./types/index.d.ts",
"main": "./package/pjax.esm.js",
"module": "./package/pjax.esm.js",
"browser": "./package/pjax.umd.js",
"scripts": {
"dev": "rollup -c -w",
"build": "rollup -c --environment prod",
"build": "rollup -c --environment es5,prod",
"deploy": "pnpm run build && netlify deploy -p",
"test": "ava --color --verbose --watch --timeout=2m"
},
"browserslist": [
"extends @brixtol/browserslist-config"
],
"prettier": "@brixtol/prettier-config",
"eslintConfig": {
"extends": [
"@brixtol/eslint-config-javascript"
]
],
"rules": {
"multiline-ternary": "off"
}
},
"ava": {
"files": [
Expand All @@ -34,28 +41,49 @@
"cjs": true
},
"dependencies": {
"mergerino": "^0.4.0"
"@babel/runtime": "^7.13.10",
"@types/nprogress": "^0.2.0",
"custom-event-polyfill": "^1.0.7",
"detect-it": "^4.0.1",
"element-closest-polyfill": "^1.0.2",
"event-from": "^0.6.0",
"history": "^5.0.0",
"intersection-observer": "^0.12.0",
"mdn-polyfills": "^5.20.0",
"mergerino": "^0.4.0",
"nanoid": "^3.1.21",
"nprogress": "^0.2.0",
"regexp.prototype.match": "^0.1.0",
"url-polyfill": "^1.1.12"
},
"devDependencies": {
"@babel/core": "^7.12.3",
"@babel/preset-env": "^7.12.1",
"@brixtol/eslint-config-javascript": "workspace:^2.0.1",
"@brixtol/prettier-config": "workspace:^1.0.3",
"@brixtol/rollup-utils": "workspace:^0.1.0",
"@rollup/plugin-alias": "^3.1.1",
"@rollup/plugin-babel": "^5.2.1",
"@rollup/plugin-node-resolve": "^10.0.0",
"@rollup/plugin-replace": "^2.3.4",
"@types/aws-lambda": "^8.10.64",
"@types/facebook-js-sdk": "^3.3.1",
"@babel/core": "^7.13.10",
"@babel/plugin-proposal-class-properties": "^7.13.0",
"@babel/plugin-syntax-object-rest-spread": "^7.8.3",
"@babel/plugin-transform-property-mutators": "^7.12.13",
"@babel/plugin-transform-runtime": "^7.13.10",
"@babel/preset-env": "^7.13.10",
"@babel/runtime-corejs3": "^7.13.10",
"@brixtol/browserslist-config": "^1.0.3",
"@brixtol/eslint-config-javascript": "^2.0.1",
"@brixtol/prettier-config": "^1.0.3",
"@brixtol/rollup-utils": "^0.1.0",
"@rollup/plugin-alias": "^3.1.2",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-inject": "^4.0.2",
"@rollup/plugin-node-resolve": "^11.2.0",
"@rollup/plugin-replace": "^2.4.1",
"@types/aws-lambda": "^8.10.72",
"@types/facebook-js-sdk": "^3.3.2",
"@types/isomorphic-fetch": "^0.0.35",
"@types/lodash": "^4.14.165",
"@types/lodash": "^4.14.168",
"@types/mithril": "^2.0.6",
"ava": "^3.13.0",
"esbuild": "^0.8.57",
"@types/node": "^14.14.34",
"ava": "^3.15.0",
"esm": "^3.2.25",
"rollup": "^2.33.2",
"rollup": "^2.41.2",
"rollup-plugin-filesize": "^9.1.1",
"rollup-plugin-globlin": "^0.1.3",
"rollup-plugin-livereload": "^2.0.0",
"rollup-plugin-node-polyfills": "^0.2.1"
},
Expand Down
Loading

0 comments on commit 1056f4f

Please sign in to comment.