Skip to content

Commit

Permalink
build(typescript): Removes typescript and tsgen (#295)
Browse files Browse the repository at this point in the history
Removes typescript tests and tsgen auto typing

BREAKING CHANGE: Anyone using typescript will lose typings with this release.

fix #276 #250
  • Loading branch information
bhough committed Jun 1, 2018
1 parent 900fa90 commit a6f9502
Show file tree
Hide file tree
Showing 2 changed files with 3,019 additions and 1,303 deletions.
16 changes: 11 additions & 5 deletions package.json
Expand Up @@ -4,25 +4,26 @@
"main": "lib/index.js",
"jsnext:main": "dist/polished.es.js",
"module": "dist/polished.es.js",
<<<<<<< HEAD
"types": "lib/index.d.ts",
=======
>>>>>>> 77478c2... build(typescript): Removes typescript and tsgen (#295)
"version": "1.9.2",
"scripts": {
"build": "yarn build:lib && npm run build:dist && npm run build:flow",
"build": "yarn build:lib && npm run build:dist && npm run build:flow && npm run build:docs",
"prebuild:lib": "shx rm -rf lib/*",
"build:lib": "cross-env BABEL_ENV=cjs babel --out-dir lib src --ignore test.js",
"prebuild:umd": "shx rm -rf dist/*",
"prebuild:dist": "shx rm -rf dist/*",
"build:dist": "rollup -c && rollup -c --environment PRODUCTION",
"build:docs": "npm run build:docs:site",
"prebuild:docs:site": "shx rm -rf docs/*",
"build:docs:site": "documentation build src/** -t docs-theme --github -o docs -f html -c ./.documentation.json",
"postbuild:docs:site": "shx cp CNAME docs/CNAME && shx cp dist/polished.js docs/assets/",
"build:watch": "npm-watch",
"build:flow": "flow-copy-source -v -i '{**/test/*.js,**/*.test.js}' src lib",
"test": "jest src",
"precommit": "lint-staged --debug",
"postcommit": "validate-commit-msg",
"lint": "eslint src",
"flow": "flow check && flow-coverage-report -i 'src/**/!(*.test).js'",
"docs": "pushstate-server docs",
"prepublish": "npm run build",
"semantic-release": "semantic-release"
},
Expand All @@ -39,6 +40,7 @@
]
},
"watch": {
"build:docs": "src/**/*.js",
"build:lib": "src/**/*.js"
},
"author": "Brian Hough <brian@brianhought.net> (https://polished.js.org)",
Expand Down Expand Up @@ -78,18 +80,22 @@
"concat-stream": "^1.5.2",
"cross-env": "^5.1.3",
"cz-conventional-changelog": "^2.1.0",
"documentation": "4.0.0-beta.18",
"eslint": "^4.17.0",
"eslint-config-airbnb-base": "^12.1.0",
"eslint-plugin-import": "^2.8.0",
"flow-bin": "^0.64.0",
"flow-copy-source": "^1.2.2",
"flow-coverage-report": "^0.4.1",
"github-slugger": "^1.2.0",
"highlight.js": "^9.12.0",
"husky": "^0.14.3",
"jest": "^22.1.4",
"lint-staged": "^6.1.0",
"lodash": "^4.17.5",
"npm-watch": "^0.3.0",
"prettier": "^1.10.2",
"pushstate-server": "^3.0.1",
"ramda": "^0.25.0",
"rollup": "^0.55.3",
"rollup-plugin-babel": "^3.0.3",
Expand Down

0 comments on commit a6f9502

Please sign in to comment.