0.1.1 • Published 6 years ago
adp-components v0.1.1
Test library package with Webpack
npm install git+https://github.com/UsulPro/libpack.git --save
// index.js:
const fs = require('fs');
const logo = require('libpack').logo;
const style = require('libpack').style;
const htmlData = `
<div>
<style>
${style()}
</style>
<img src="${logo()}" alt="logo" title="logo" width="200px"/>
</div>
`;
fs.writeFile('test.htm', htmlData, (err) => {
if (err) throw err;
console.log('It\'s saved!');
});
$ node .
open test.htm
in your browser
build
git clone https://github.com/UsulPro/libpack.git
edit files in src/
npm run build
in dist/
you'll see your package
you can install it locally then:
npm i D:\path-to-project\libpack\ --save
0.1.1
6 years ago
0.0.25
6 years ago
0.0.23
6 years ago
0.0.22
6 years ago
0.0.20
6 years ago
0.0.17
6 years ago
0.0.16
6 years ago
0.0.14
6 years ago
0.0.12
6 years ago
0.0.11
6 years ago
0.0.10
6 years ago
0.0.8
6 years ago
0.0.7
6 years ago
0.0.6
6 years ago
0.0.5
6 years ago
0.0.4
6 years ago
0.0.3
6 years ago
0.0.2
6 years ago
0.0.1
6 years ago